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.
DO LOOP UNTIL
DO WHILE LOOP
FOR TO STEP