Syntax
Skips the rest of the current pass and starts the next pass of the innermost loop.
CONTINUEGood to know
- In a FOR, the step is added before the next pass. In a WHILE or a REPEAT, the condition is tested first.
- It acts on the innermost FOR, FOREACH, WHILE, REPEAT or DO loop, even from inside a SELECT.
- Outside any loop it is a compile error: "CONTINUE without an active loop".
- In the DO frame loop,
CONTINUEskips the Sync() below it. If it fires on every pass, the game freezes. Put Sync() before theCONTINUE, or use IF … ELSE.