Navigation:  Commands > Infobox Information File [IIF] >

$until [IIF]

Previous pageReturn to chapter overviewNext page

Conditionally Repeat block

$until x op y


This command terminates a block of infobox lines which are to be repeated until the condition specified on a preceding $repeat command is true. Command blocks surrounded by repeat/until commands may not be nested. This command is only valid in infobox (.IIF) files.

The syntax for the ‘condition’ is the same as for the $if command.

The command must be placed in the same infobox file as the $repeat command which it works with. Placing the $until in an $include file will result in an error message.

Example:

$set_var x 1

$repeat

$add_image 5432@x

$set_var x +1

$until @x = 4

 


Topic url: http://www.copia.com/support/refmanual/index.html?%24until.htm