Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

This is an old revision of the document!


REPEAT ... UNTIL

Since version 2.1

Syntax:

repeat
  <statements>
until <condition>

The REPEAT command starts a post-test loop. The statements in the loop will be run at least once. If the condition in the UNTIL statement evaluates to true, the loop exits.

Note: for a pre-test loop construct, see WHILE ... ENDWHILE