WHILE expression
<statements>
WEND
WHILE initiates a WHILE-WEND loop. The loop ends with WEND, and execution reiterates through the loop as long as the ‘expression’ is true.
This construct is included for Microsoft compatibility. New programs should use the DO … LOOP construct.
See also:
DO LOOP
DO LOOP UNTIL
DO WHILE LOOP
EXIT
EXIT FOR
FOR TO STEP
LOOP UNTIL
NEXT
Leave a Reply