Until


 

Until>variable,finalvalue

 

Use in conjunction with Repeat.  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

 

Until will loop back to the last Repeat that has the same counter variable.

 

See also: Repeat

 

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