Copyright Digital Equipment Corp. All rights reserved.

REPEAT

 The REPEAT statement is a looping statement and executes one  or
 more statements until a specified condition is true.


 Syntax:

    REPEAT
       {statement};...
    UNTIL expression


 The 'statement' is any VSI Pascal statement.

 The 'expression' is any Boolean expression.

 VSI Pascal always executes a REPEAT statement for one iteration;
 iterations  continue as long as the Boolean expression is FALSE.
 When specifying more than one statement as the loop  body  to  a
 REPEAT  statement,  do not enclose the statements with the BEGIN
 and END reserved words; multiple statements  are  legal  in  the
 REPEAT loop body.


Additional information available:

Examples