Difference between revisions of "Command:Continue"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== Examples == | == Examples == | ||
+ | Declare Count int 1 | ||
+ | Do | ||
+ | { | ||
+ | Echo ${Count} | ||
+ | VarCalc Count ${Count}+1 | ||
+ | continue | ||
+ | Echo This line will not be echoed as the continue skips straight to the while | ||
+ | } | ||
+ | While "${Count}<10" | ||
== See Also == | == See Also == |
Revision as of 21:45, 16 July 2005
Contents
Syntax
Continue | |
Usage | Beginner |
Level of Understanding | Intermediate |
Computer Savvy | Beginner |
Logic | Intermediate |
Continue
Description
Used within a While loop, skips the remaining portion of the loop and continues at the While, where the conditions for looping will be checked.
Examples
Declare Count int 1 Do {
Echo ${Count} VarCalc Count ${Count}+1 continue Echo This line will not be echoed as the continue skips straight to the while
} While "${Count}<10"