qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WHILE...WEND Statement
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Executes a series of statements as long as a specified condition is true.
 
WHILE condition
.
.
.
WEND
 
    ■ condition    A numeric expression that Basic evaluates as true
                   (nonzero) or false (zero).
 
    ■ DO...LOOP provides a better way to execute statements in a
      program loop.
 
See Also    DO...LOOP    FOR...NEXT