pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Use the BASENAME option only with the PROFGEN optionDependencies:
PROFGENReferences:
More information: BASENAME (page 381)
BEGINCOMPILATION
NOTE:
• This directive can appear only in the source file, not in the compilation command.
• The EpTAL compiler ignores this directive.
NoneDefault:
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
Applies to all source code that follows it in the compilation unitScope:
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
References:
• SAVEGLOBALS (page 512)
• USEGLOBALS (page 516)
More information: BEGINCOMPILATION (page 382)
BLOCKGLOBALS
The compiler allocates data items in the _GLOBAL and $_GLOBAL data blocksDefault:
Before the first data declaration in a compilationPlacement:
Applies to the compilation unitScope:
NoneDependencies:
More information: BLOCKGLOBALS (page 382)
CALL_SHARED
NOTE:
• This directive is useful only for the pTAL compiler. The EpTAL compiler ignores it (and issues
a warning).
• You cannot link PIC and non-PIC object files into a single object file.
496 Syntax Summary