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.
Contrarily to the FOR ... NEXT
loop, it is allowed to escape from the REPEAT
loop using the GOTO
command.
Note: for a pre-test loop construct, see WHILE ... ENDWHILE