While: Difference between revisions
Jump to navigation
Jump to search
Created page with "==WHILE== Starts a prog defined loop that will run until the specified boolean argument list returns false. The loop will run to the corresponding END statement in a simi..." |
backlink BREAK |
||
| Line 9: | Line 9: | ||
::IncVar('counter') | ::IncVar('counter') | ||
:[[END]] | :[[END]] | ||
You may exit a WHILE loop early with the [[BREAK]] statement. | |||
[[Category:Logic]] | [[Category:Logic]] | ||
[[Category:Loops]] | [[Category:Loops]] | ||
Revision as of 18:47, 10 September 2013
WHILE
Starts a prog defined loop that will run until the specified boolean argument list returns false. The loop will run to the corresponding END statement in a similar manner to IF but will execute multiple times until the test is false.
For example:
You may exit a WHILE loop early with the BREAK statement.