Conditional control statement. The while statement marks the beginning of a WHILE loop.
The commands between the while keyword and the wend keyword will be executed repeatedly until the condition in the while statement is false.
Syntax
while [condition]
[commands while condition true]
wend
Cross-references