14. Merge Templates ↑
14.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
- 14.4.1 delims command
- 14.4.2 set command
- 14.4.3 output command
- 14.4.4 nextrec command
- 14.4.5 definegroup command
- 14.4.6 ifendgroup command
- 14.4.7 trailing command
- 14.4.8 ifnewgroup command
- 14.4.9 if command
- 14.4.10 else command
- 14.4.11 endif command
- 14.4.12 copyfile command
- 14.4.13 include command
- 14.4.14 allfields command
- 14.4.15 loop command
Next: delims command
Skip to: 15. Script Files