The conditional commands $if, $ife, $ifn, $ifne, $else, $elseif and $endif may be used in any command files and also in ASCII cover sheet templates. Their use in other than infobox (IIF) files is not recommended.
When used in a USR or UJP file, the condition will be evaluated on loading from disk into the cache, and not before each call: so conditions should only refer to global items that do not change while CopiaFacts is running. When used in an FS file, the condition will be evaluated when the FS file is first loaded, and will not be retained when the file is written back for a retry or after completion of all attempts. Finally, the conditions are ignored in all CopiaFacts programs other than the main faxing engine (COPIAFACTS.EXE).
Despite these restrictions the use of conditionals in files other than IIF files can often be useful. But care is required.
The loop control commands $repeat, $break and $until are only available in infobox [IIF] files.
Topic url: http://www.copia.com/support/refmanual/index.html?conditionalandloopcommands.htm