Repeat
Repeat>variable
Use in conjunction with Until. Iterates the code from the Repeat statement to the Until statement until the specified expression in the Until statement becomes true. Until can take one of the following simple expressions:
variable,value |
for backward compatibility. Same as variable=value |
variable=value |
Until variable equals the value specified |
variable>value |
Until variable is greater than the value specified |
variable<value |
Until variable is less than the value specified |
variable<>value |
Until variable does not equal the value specified |
Alternatively Until can take a full complex expression (specified between curly braces).
Until will loop back to the last Repeat that has the same counter variable.
See also: Until
Example
GetFileList>c:\temp\*.*,files
Separate>files,;,file_names
MessageModal>Num Files: %file_names_count%
Let>k=0
Repeat>k
Let>k=k+1
Message>file_names_%k%
Until>k,file_names_count