The repeat-until loop takes the following form:
\REPEAT <stmt> \UNTIL <condition>
For example,
\REPEAT some processing \UNTIL some condition is met
produces