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.
REPEAT and UNTIL Keywords
  ◄Keywords► ◄Contents► ◄Index►                                  ◄Back►
 
  REPEAT
    <statement-block>
  UNTIL <expression>
 
  Description
 
    A REPEAT statement is a loop that executes at least once. It
    executes its enclosed statement before it checks the terminating
    expression. If the expression is False, it executes again; if the
    expression is True, the REPEAT statement terminates. An expression
    that is never True creates an infinite loop.
 
  See also:   FOR, Loop statement, Pascal Statement Hierarchy, WHILE