REPEAT : Repeated execution of a program segment until a specified condition becomes true. Testing of condition is done after the execution of the program segment.

syntax:
:REPEAT condition
:command until condition is true
:command until condition is true
:END
:command

REPEAT repeats a group of commands until condition is true (nonzero). It is similar to WHILE, but condition is tested when END is encountered; therefore, the group of commands will always be executed at least once. REPEAT instructions can be nested