Basic30 Language Reference
While ... End While Statement |
Loop through a block of statements while a specified condition is true.
While condition
[statements]
[Exit While]
[Continue While]
End While |
- condition
- Required condition to evaluate each time through the loop. The
loop will be executed while the condition is true.
- statements
- Optional block of statements to execute.
- End While
- Required keyword to specify the end of the While loop.
Related Statements:
- Exit While
- Jump to the statement following the End While keyword.
- Continue While
- Skip any remaining statements to be executed in the loop, execution the
continues from the beginning of the loop by evaluating the condition.
Also See: For ... Next