Repeat
REPEAT (starts a repeat cycle or loop)
- Designates the start of the Repeat/Until Loop, which repeats until a defined condition is met.
- Be default the repeat loop uses its own counter (kind of like a FOR NEXT loop) unless a math value is designated.
Iteration limiting
The Repeat/Until will continue indefinitely if the checked result is not met. to prevent this from happening it is possible to add Iteration limiting using the following format.
REPEAT<#
- The # character must be a valid number. from 1 to 99,000,000.
- If the Repeat/Until exits due to Iteration limiting, an error is flagged and the Failure count is increased by one.
- If the Repeat/Until exits due to Iteration limiting, an error message displays the result and the UNTIL not met.