Skip to main content
Version: 7.0

Next iteration (CONTINUE)

The next iteration operator creates an action that skips the execution of the remaining code in the current iteration and moves to the next iteration of the innermost enclosing loop (normal or recursive). If the created action is not inside a loop, it exits the innermost enclosing action call, as the exit operator does.

Language

The next iteration operator syntax is described by the CONTINUE operator.

Example

testContinue ()  {
FOR iterate(INTEGER i, 1, 5) DO {
MESSAGE 'before';
IF i == 3 THEN CONTINUE; // no message 'after' for i == 3
MESSAGE 'after';
}
}