TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-16
BEGINCOMPILATION Directive
If you change the assertion-level to 30, you nullify all the ASSERT statements. Thus, if
ASSERT statements that cover a particular condition all have the same
assert-level, it
is easier to nullify specific levels of ASSERT statements.
BEGINCOMPILATION Directive
BEGINCOMPILATION marks the point in the source file where compilation is to begin
if the USEGLOBALS directive is in effect.
Usage Considerations
If you have saved global data declarations in a previous compilation (by specifying
SAVEGLOBALS), you can use the saved declarations in subsequent compilations (by
specifying USEGLOBALS, BEGINCOMPILATION, and SEARCH).
•
USEGLOBALS suppresses compilation of text lines and SOURCE directives but
not other directives.
•
SEARCH specifies the object file that provides global initializations and template
structure declarations for the USEGLOBALS compilation.
•
BEGINCOMPILATION begins compilation of text lines and SOURCE directives.
BEGINCOMPILATION, if present, must appear in the source code between the last
global data declaration or SEARCH directive and the first procedure declaration,
including any EXTERNAL and FORWARD declarations. BEGINCOMPILATION takes
effect only if USEGLOBALS is in effect.
To use BEGINCOMPILATION, you must not have changed the global data declarations
after you compiled with SAVEGLOBALS to produce the object file containing the
initializations.
For more information, see SAVEGLOBALS Directive
on page 16-75 and
USEGLOBALS Directive
on page 16-93.
Example of BEGINCOMPILATION Directive
For an example of how SAVEGLOBALS, USEGLOBALS, BEGINCOMPILATION, and
SOURCE interact, see SAVEGLOBALS in this section.
VST1605.vsd
BEGINCOMPILATION