> Shouldn't that be SIGNAL OFF SYNTAX?
Well, I guess I just wanted to give this lonely syntax handler a few lines
down at least a tiny little bit of work to do :-)
exception: /* define exception handler
*/
syntax:
raise propagate /* just propagate the error
*/
I sure would have thought that SIGNAL SYNTAX ON with a following RAISE
PROPAGATE anyhow is identical to a simple SIGNAL SYNTAX OFF
But now a test shows that with SYNTAX ON we're receiving
12 *-* .stdout~xxx
1551 *-* Method INIT with scope "Alarm" in package "REXX" (no
source available).
Error 97: Object method not found.
Error 97.1: Object "a Stream" does not understand message "XXX".
and with SYNTAX OFF we get
12 *-* .stdout~xxx
1551 *-* Method INIT with scope "Alarm" in package "REXX" (no
source available).
Error 97 running C:\Users\IBM_ADMIN\BAT\TstBugTriggeredMessage.rex line
12: Object method not found.
Error 97.1: Object "a Stream" does not understand message "XXX".
Not that I'd understand why this difference is, but I guess I better change
it to SYNTAX OFF ..
On Sat, Jan 14, 2017 at 6:08 PM, Rick McGuire <object.r...@gmail.com> wrote:
> Shouldn't that be SIGNAL OFF SYNTAX?
>
> Rick
>
> ---------- Forwarded message ----------
> From: <erich...@users.sf.net>
> Date: Sat, Jan 14, 2017 at 11:58 AM
> Subject: [Oorexx-svn] SF.net SVN: oorexx-code-0:[11193]
> main/trunk/interpreter/RexxClasses/ CoreClasses.orx
> To: oorexx-...@lists.sourceforge.net
>
>
> Revision: 11193
> http://sourceforge.net/p/oorexx/code-0/11193
> Author: erich_st
> Date: 2017-01-14 16:58:45 +0000 (Sat, 14 Jan 2017)
> Log Message:
> -----------
> fix [bugs;#1418 AlarmNotification's triggered() method gives surprising
> error message
>
> Modified Paths:
> --------------
> main/trunk/interpreter/RexxClasses/CoreClasses.orx
>
> Modified: main/trunk/interpreter/RexxClasses/CoreClasses.orx
> ===================================================================
> --- main/trunk/interpreter/RexxClasses/CoreClasses.orx 2017-01-12
> 18:31:24 UTC (rev 11192)
> +++ main/trunk/interpreter/RexxClasses/CoreClasses.orx 2017-01-14
> 16:58:45 UTC (rev 11193)
> @@ -1523,6 +1523,7 @@
> timespan = target - current
> scheduledTime = target
> end
> + SIGNAL ON syntax -- stop trapping syntax to
> invalid_time
> end
>
> if timespan~sign < 0 then do
>
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Oorexx-svn mailing list
> oorexx-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-svn
>
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel