<<>> (Program template delimiters)
<< >> (Program template delimiters)
Marks the start and end of an output section in a template program.
Syntax
<<
statements
>>
Parameters
statements | one or more command statements, typically using macros, to send to the current output destination when the program containing them is processed with a GENERATE command |
Comments
The program template delimiters, << and >>, must appear alone on a physical line in the application document. When the program is executed, parsed, or compiled, the statements between the delimiters are ignored. When the program is run under the GENERATE command, the statements are sent as output, after macro substitution, to the current output device.
Example
… commands1 …
<<
… commands2 …
>>
… commands3 …
Under normal execution, commands1 and commands3 execute normally; commands2 are ignored.
When the program is parsed or compiled, commands1 and commands3 are parsed or complied in the usual manner; commands2 are ignored.
When the GENERATE command is used, commands1 and commands3 execute normally; commands2 are sent as output, after macro substitution, to the current output device.