Programmer Guide/Command Reference/CONTINUE: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
|||
Line 10: | Line 10: | ||
=== See also === | === See also === | ||
<code>[[Programmer_Guide/Command_Reference/BREAK|BREAK]]</code> command | <code>[[Programmer_Guide/Command_Reference/BREAK|BREAK]]</code> command | ||
<!-- C.G. 14.3.2011 --> |
Revision as of 17:00, 14 March 2011
The CONTINUE
command skips the rest of the body of a loop, effectively continuing execution with the next iteration of the respective loop(see DO
, WHILE
, FOREVER
, and FOR
). Obviously, this command may only be used inside a loop.
Example
for #i := 0 to $#i < $#t[] step #i := int $#i + 1 if '$#t[$#i,ID]' <= '100' continue // do something with all IDs above 100 end
See also
BREAK
command