Next: RETURN Statement, Previous: BREAK Statement, Up: Jumps [Contents][Index]
The continue
statement jumps to the end of the current enclosing
loop statement and starts the next iteration, unless the loop condition
indicates termination. For example, in the statement
LUX>FOR i = 1, 5 { mor>T,i mor>IF i GT 3 THEN CONTINUE mor>T,'*' } 1 * 2 * 3 * 4 5 LUX>
the part after the continue
statement does not get executed when
the value of i
exceeds 3.