pTAL Reference Manual (H06.08+)
Compiler Directives
HP pTAL Reference Manual—523746-006
17-20
BEGINCOMPILATION
ASSERT on page 12-3 explains how to use the ASSERTION directive and the
ASSERT statement together.
BEGINCOMPILATION
BEGINCOMPILATION marks the point in the source file where:
•
The information saved by the SAVEGLOBALS operation ends
•
Compilation is to begin if the USEGLOBALS directive is active.
Default: None
Placement:
•
Anywhere in the source file (not in the compilation command)
•
Must be the last directive on the directive line
Scope: Applies until another ASSERTION overrides it
Dependencies: Has no effect without the ASSERT statement
References: ASSERT
on page 12-3
Note. The EpTAL compiler ignores this directive. See Migrating from TNS/R to TNS/E
on
page 17-11.
Default: None
Placement:
•
In the source file between the last global data declaration and the
first procedure declaration, including any EXTERNAL and
FORWARD declarations
•
Can appear only once in a compilation unit
Scope: Applies to all source code that follows it in the compilation unit
Dependencies:
•
Has no effect without the USEGLOBALS directive
•
If you specify either SAVEGLOBALS or USEGLOBALS, your
compilation unit must have exactly one BEGINCOMPILATION
directive
•
Interacts with SAVEGLOBALS and USEGLOBALS (see Saving and
Using Global Data Declarations on page 17-8)
References:
•
SAVEGLOBALS on page 17-56
•
USEGLOBALS on page 17-69
VST991.vsd
BEGINCOMPILATION










