Skip to main content
Version: 7.0

CONTINUE operator

The CONTINUE operator creates an action that implements a move to the next iteration of the loop.

Syntax

CONTINUE

Description

The CONTINUE operator creates an action that moves to the next iteration of the innermost enclosing loop.

Example

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