Node:repeat Statement, Next:, Previous:while Statement, Up:Statements



repeat Statement

repeat
  statement;
  ...
  statement;
until boolean_expression

The repeat ... until statement declares a loop which is repeated until boolean_expression is true. Since the terminating condition is checked after execution of the loop body, the statement sequence is executed at least once.

See also

while Statement, for Statement