Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#398 SIGNAL not working as per the doc.

open
Mark Hessling
5
2012-12-08
2012-12-08
Anonymous
No

In the REGINA.PDF documentation, the following program is shown in section 2.4.22 (the SIGNAL instruction), but the program doesn't work:

do forever
signal there

there:
nop
signal after
end

after:

The Regina PDF doc says:

... However, if control is transferred out of the loop after the label, but before the END, then it would be legal, i.e. the following is legal::

(followed by the above REXX program).

The error messages are:

2 +++ signal there
Error 16 running "D:\sig.rex", line 2: Label not found
Error 16.2: Cannot SIGNAL to label "THERE" because it is inside an IF, SELECT or DO group

____________________________________ Gerard Schildberger

Discussion