Flow-control structures: Difference between revisions

m
m (→‎signal: typo)
m (→‎leave: typo)
Line 1,741:
 
===leave===
The '''leave''' statement transfer control to the next REXX statement following the   '''end''' &nbsp statmentstatement of the current (active)   '''do'''   loop in which the '''leave''' statement is located.   The '''leave''' statement can also specify which '''do''' loop is to be left (terminated) if the '''do''' loop has a named variable.
<lang rexx> do j=1 to 10
say 'j=' j
2,300

edits