While...Wend
Previous  Next

Description: Repeats code while <Expression> returns true

     Syntax:
     
While <Expression>
        <Code>
Wend

Part
Description
<Expression>
Required. The expression that is to be checked to determine the condition of the loop.

Example:

        While a < 10
                Locate 1,1: Print a
                a++
        Wend