Difference between revisions of "Command:Do"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
*[[LavishScript:Commands|Commands]] | *[[LavishScript:Commands|Commands]] | ||
{{Command-Stub}} | {{Command-Stub}} | ||
+ | [[Category:LavishScript]] | ||
+ | [[Category:LavishScript Commands]] |
Revision as of 22:30, 25 May 2005
Contents
Syntax
Do | |
Usage | Beginner |
Level of Understanding | Intermediate |
Computer Savvy | Beginner |
Logic | Intermediate |
Do
Description
Used in conjunction with While to create a While loop. The "Do" marks the beginning, whereas "While" marks the end. Because the conditions are only checked by the While statement, you may need to place the loop inside an If.
Examples
Declare Count int 1 Do { Echo ${Count} VarCalc Count ${Count}+1 } While "${Count}<10"