REPEAT
The REPEAT statement is similar to the while loop, how-ever, with the repeat statement, the conditional test occurs after the loop. The program statement(s) which constitute the loop body will be executed at least once. The format is,

	repeat
	     program statement;
	until  condition_is_true;   {semi-colon depends on next keyword}

There is no need to use the begin/end keywords to group more than one program statement, as all statements between repeat and until are treated as a block.


Copyright B Brown/P Henry/CIT, 1988-1997. All rights reserved.