While

From MiniScript Wiki
Revision as of 23:31, 19 February 2020 by JoeStrout (talk | contribs) (Created page with "<c>while</c> is a keyword used to loop as long as some condition is true. The condition is tested before each iteration of the loop (including the firs...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

while is a keyword used to loop as long as some condition is true. The condition is tested before each iteration of the loop (including the first). When the condition is not true, execution jumps to the next statement after end while.

Within the loop, execution may also jump out of the loop by using a break statement.


This article is a stub. You can help the MiniScript Wiki by expanding it.