qp.hlp (Table of Contents; 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 Statement
  Keywords Contents Index                                  Back
 
  WHILE <expression> DO
  <statement-block>
 
  Description
 
    A WHILE statement is a loop that executes only if the expression
    is True. The test for the expression is at the top of the loop.
    If the expression is True, the statement block is executed. If it
    is False, control is passed to the statement that follows the
    WHILE statement. An expression that never resolves to False creates
    an infinite loop.
 
  See also:  FOR, Loop statement, Pascal Statement Hierarchy, REPEAT