Difference between revisions of "Command:Continue"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== Examples == | == Examples == | ||
− | Declare Count int 1 | + | Declare Count int 1 |
− | Do | + | 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" | + | While "${Count}<10" |
== See Also == | == See Also == |
Revision as of 21:46, 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"