pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
17 Compiler Directives
Topics:
• Specifying Compiler Directives (page 367)
• File Names as Compiler Directive Arguments (page 368) (Guardian platforms only)
• Directive Stacks (page 369)
• Toggles (page 370)
• Saving and Using Global Data Declarations (page 372)
• Summary of Compiler Directives (page 377)
• Topics for individual compiler directives, beginning with ASSERTION (page 381)
Specifying Compiler Directives
You can specify compiler directives either in the compilation command or in a directive line in the
source code, unless otherwise specified. The compiler interprets and processes each directive at
the point of occurrence.
Topics:
• Compilation Command (page 367)
• Directive Line (page 367)
Compilation Command
compilation-command
is as described in Running the Compiler (page 357).
directive
is a directive listed in Table 74 (page 377) or Table 75 (page 379), except the following, which
can appear only in the source file (see Compilation Command (page 367)):
• ASSERTION (page 381)
• BEGINCOMPILATION (page 382) (not recommended)
• ENDIF (page 390)
• IF and IFNOT (page 398)
• PAGE (page 407)
• SECTION (page 414)
• SOURCE (page 416)
Example 326 Compilation Commands With Compiler Directives
EPTAL /IN mysrc, OUT $s.#lists/ myobj; NOMAP, NOLIST
pTAL /IN mysrc, OUT $s.#lists/ myobj; NOMAP, NOLIST
Directive Line
The general form of a directive line is:
Specifying Compiler Directives 367