>>-LEAVE--+------+--;------------------------------------------>< +-name-+
Example 2.27. Instructions - LEAVE
max=5 do label myDoBlock /* define a label 'MYDOBLOCK' */ loop i=1 to max /* label defaults to control variable 'I' */ if i = 2 then iterate i if i = 4 the leave myDoBlock say i end i say 'after looping' max 'times' end myDoBlock /* Displays the following 1 3 after looping 4 times */