While
...
Wend
Conditional loop. Executes while the condition is true.
**Parameters**
|< 100% 15% >|
|expr|As long as the given expression is true, the loop is executed.|
**Example**
var = 3
While var > 0
MsgBox(var) # --> 3 --> 2 --> 1
var = var - 1
Wend
**Related**
[[loop_fornext]], [[loop_break]], [[loop_continue]]