CONTINUE
Syntax | Examples | Version History | See Also
The CONTINUE statement provides a convenient way to immediately start the next iteration of the enclosing FOR, WHILE, or REPEAT loop.
Note
Do not confuse the CONTINUE statement described here with the .CONTINUE executive command. The two constructs are not related, and serve completely different purposes.
Note
CONTINUE is not allowed within CASE or SWITCH statements. This is in contrast with the C language, which does allow this.
For more information on using CONTINUE and other IDL program control statements, see Program Control (Application Programming).
Syntax
CONTINUE
Examples
This example presents one way (not necessarily the best) to print the even numbers between 1 and 10.
Version History
See Also
BEGIN...END, BREAK, CASE, FOR, GOTO, IF...THEN...ELSE, REPEAT...UNTIL, SWITCH, WHILE...DO, Program Control (Application Programming)