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 and in conditional text.

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.


$set_var x 1


  $add_image 5432@x

  $set_var x +1

$until @x = 4