These are logic commands that can be used in the terminal programs. They are not autocontrol script commands, but actual program commands. They can be used when typing in commands via the command textbox too, but a complete REPEAT loop code (start with REPEAT and end with UNTIL) all on one line separated by commas must be included. 

REPEAT    (starts a repeat cycle or loop)

UNTIL= ###    (ends loop or repeats it again based on comparison of equal)

UNTIL< ###    (ends loop or repeats it again based on comparison of less than)

UNTIL> ###    (ends loop or repeats it again based on comparison of greater than)

UNTILR ###:###(ends loop or repeats it again based on comparison of range values. Low value and high value separated                                  by :)

UNTILM ###    (ends loop when comparison value ANDed with BitMask equal value)

Be default the repeat loop uses its own counter (kind of like a FOR NEXT loop) unless a math value is designated.

To designate a math comparison use the commands just after a command with a reply to compare in the UNTIL Logic command:

RSAVE1

RSAVE2

RSAVE3

RSAVE4

These commands save the last reply value of the last command executed in a math comparison variable. There are four save commands because some commands can return a value like this:

1000:2000:3000:2000

 In this case:

RSAVE1 would save a value of 1000

RSAVE2 would save a value of 2000

RSAVE3 would save a value of 3000

RSAVE4 would save a value of 2000

Now when the UNTIL command is executed, it uses this saved math value instead of the loop counter for the comparison.

Up to 3 levels of repeat loops can be nested.