CONTINUE
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
CONTINUE
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
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
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5