Flow-control structures: Difference between revisions

m
→‎raising conditions: simplified Call On halt
m (→‎raising conditions: added a list of some REXXes support CALL ON condition. -- ~~~~)
m (→‎raising conditions: simplified Call On halt)
Line 1,814:
<br>A short example:
<lang rexx>Say 'Interrupt this program after a short while'
Call on halt name xxx
Do i=1 To 10000000
j=i**2+1
End
xxxhalt: Say i j
Return</lang>
 
2,295

edits