Repeating Script Statements
Sections of scripts may be repeated using $repeat and $until commands. This allows a number of similar operations to be done in succession with different values of a 'loop variable'. It is important to use an expression on the $until command which is certain to terminate the loop, although there is a limit of 256 times (overrideable by $repeat_limit) which will prevent infinite looping. A $break command allows premature exit from the loop.
In addition, a $include command allows a common sequence of infobox commands to be inserted without having to be repeated in a several different infoboxes. The name of the 'include file' must be specified as a full pathname, without expanding variables in the name; this allows the calling infobox to be placed in an IBC collection file without the need for the COLLECT utility to interpret all the variables in the file.