While: Difference between revisions
Jump to navigation
Jump to search
backlink BREAK |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 10: | Line 10: | ||
:[[END]] | :[[END]] | ||
You may exit a WHILE loop early with the [[BREAK]] statement. | You may exit a WHILE loop early with the [[Break|BREAK]] statement. | ||
[[Category:Logic]] | [[Category:Logic]] | ||
[[Category:Loops]] | [[Category:Loops]] | ||
Latest revision as of 17:10, 17 November 2015
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.