Loop based on an expression.
|expression||If the expression is true the following statements up to the WEnd statement are executed. This loop continues until the expression is false.|
RemarksWhile...WEnd statements may be nested.
$i = 0
While $i <= 10
MsgBox(0, "Value of $i is:", $i)
$i = $i + 1