TAL Reference Manual

Compiler Directives
TAL Reference Manual526371-001
16-85
Usage Considerations
define-name
is the name of a TACL MAP DEFINE that refers to a disk file from which the
compiler is to read source code.
assign-name
is a logical file name you have equated to a disk file (from which the compiler is to
read source code) by issuing a TACL ASSIGN command.
section-name
is an identifier specified in a SECTION directive within the sourced-in file. If the
compiler does not find
section-name in the specified file, it issues a warning.
Usage Considerations
SOURCE can appear anywhere in the source code but not in the compilation
command.
If other directives appear on the same line, SOURCE must be last in the line. The list
of section names can extend to continuation lines, each line beginning with ? in column
1. The leading parenthesis, if present, must appear on the same line as SOURCE.
Section Names
If you specify SOURCE with no section names, the compiler processes the specified
source file until an end of file occurs. 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.
Nesting Levels
You can nest SOURCE directives to a maximum of seven levels, not counting the
original outermost source file. For example, the deepest nesting allowed is as follows:
1. The MAIN file F sources in file F1.
2. File F1 sources in file F2.
3. File F2 sources in file F3.
4. File F3 sources in file F4.
5. File F4 sources in file F5.
6. File F5 sources in file F6.
7. File F6 sources in file F7.