Repeat

From Lazarus wiki

Deutsch (de) English (en) suomi (fi) français (fr) русский (ru)

This reserved word is used in a control construct that is similar to a while do loop.

Syntax

  repeat
    <statement block>
  until <condition>;

Example

  x := 1;
  repeat
    DoSomethingHere(x);
    x := x + 1;
  until x = 10;



Keywords: begindoelseendforifrepeatthenuntilwhile