pTAL Reference Manual (H06.03+)

Compiler Directives
HP pTAL Reference Manual523746-005
17-59
Section Names
Topics:
Section Names on page 17-59
Nesting Levels on page 17-60
Effect of Other Directives on page 17-60
Including System Procedure Declarations on page 17-61
Examples on page 17-62
Section Names
If you specify SOURCE with no section names, the compiler processes the specified
source file until the end of that file. The compiler treats any SECTION directives in the
source file as comments.
If you specify SOURCE with section names, the compiler processes the source file
until it reads all the specified sections. A section begins with a SECTION directive and
ends with another SECTION directive or the end of the file, whichever comes first.
The compiler reads the sections in order of appearance in the source file, not in the
order specified in the SOURCE directive. If you want the compiler to read sections in a
particular order, use a separate SOURCE directive for each section and place the
SOURCE directives in the desired order.
Default: None
Placement:
Only in the source file (not in the compilation command)
Must be the last directive on the directive line
Scope: Applies to the source file
Dependencies:
Interacts with COLUMNS
Interacts with SECTION (see Section Names on page 17-59)
Interacts with the directives referenced in the next row (see Effect of
Other Directives on page 17-60)
References:
BEGINCOMPILATION on page 17-19
COLUMNS on page 17-23
LIST on page 17-41
SECTION on page 17-55
SUPPRESS on page 17-63
USEGLOBALS on page 17-67