Talk:Jump anywhere: Difference between revisions

Content added Content deleted
(→‎Signal use in Rexx: new section)
m (→‎Signal use in Rexx: show output)
Line 28: Line 28:
__Warning__: Not only jumping into Do loops (as noted under REXX) is usually an error.
__Warning__: Not only jumping into Do loops (as noted under REXX) is usually an error.
Jumping into or within Do groups is equally wrong.
Jumping into or within Do groups is equally wrong.

Please consider Signal only for condition handling or very global jumps such as Signal end_of_job.
Please consider Signal only for condition handling or very global jumps such as Signal end_of_job.
Example:
Example:
Line 34: Line 35:
label: Say 'label reached'
label: Say 'label reached'
End</lang>
End</lang>
Output:
<pre>
4 *-* End
Error 10 running H:\sig.rex line 4: Unexpected or unmatched END
Error 10.1: END has no corresponding DO, LOOP, or SELECT
</pre>