613-518-1166 info@zimdatabases.com

ZIM Language Reference

CONTINUE

< All Topics

Restarts a WHILE loop.

Syntax

CONTINUE

Comments

Any IF or CASE statements that are still open when a CONTINUE command is executed are automatically closed off when execution returns to the start of the WHILE loop.

Example

while Salary > 20000

  … other commands …

if var1 = 1

continue

else

  … more commands …

endif

… still more commands …

endwhile…

commands after the while loop …

If var1 is currently set to 1, execution returns to the WHILE command. All commands between CONTINUE and ENDWHILE are ignored, and the “open” IF statement is automatically closed.

 

See Also

BREAK (Loops)

GOTO

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents