CONTINUE

CONTINUE

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

CONTINUE

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%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese