12. Merge Templates ↑
12.4 Merge Commands
All commands must be enclosed in the chosen Merge Delimiters. In addition, all commands must appear on lines by themselves, and must begin in the first positions of their lines (with no preceding spaces or tabs). Command names can be in upper- or lower-case. Each command may have zero or more operands. Operands may be separated by any of the following delimiters: space, comma (‘,’), semi-colon (‘;’) or colon (‘:’). Operands that contain any of these delimiters must be enclosed in single or double-quotation marks.
The following commands are recognized. They are presented in the typical sequence in which they would be used.
<?delims new delimiters?>
<?output "filename.ext"?>
<?set global = 0?>
<?nextrec?>
<?include "filename.ext" ?>
<?ifchange ?>
<?if ?>
<?definegroup group-number ?>
<?ifendgroup group-number?>
<?trailing?>
<?ifnewgroup group-number?>
<?else?>
<?endif?>
<?loop?>
Contents
- 12.4.1 delims command
- 12.4.2 set command
- 12.4.3 output command
- 12.4.4 nextrec command
- 12.4.5 definegroup command
- 12.4.6 ifendgroup command
- 12.4.7 trailing command
- 12.4.8 ifnewgroup command
- 12.4.9 if command
- 12.4.10 else command
- 12.4.11 endif command
- 12.4.12 copycss command
- 12.4.13 copyfile command
- 12.4.14 copyimages command
- 12.4.15 include command
- 12.4.16 allfields command
- 12.4.17 loop command
Next: delims command
Skip to: Script Files