pTAL Reference Manual (H06.08+)
Compiler Directives
HP pTAL Reference Manual—523746-006
17-18
Summary of Compiler Directives
ERRORS Terminates compilation after the specified number of error
messages
EXPORT_GLOBALS
Exports globals
FIELDALIGN
Specifies the default memory alignment for structures
FMAP
Lists the file map in the compiler listing
GLOBALIZED
Generates preemptable object code for use when building DLLs
that require such code
GMAP
Lists the global map in the compiler listing
GP_OK
1
Generates code that has GP-relative addressing
IF and IFNOT
Identifies the beginning of code that is to be conditionally
compiled
INNERLIST
Lists mnemonics after each source statement
INVALID_FOR_PTAL
Causes errors for TAL constructs that are not valid in pTAL
LINES
Specifies the maximum number of output lines per page if the
list file is a line printer or a process
LIST
Lists the source code
MAP
Lists the identifier map
OPTIMIZE
Sets the object code’s default optimization level
OPTIMIZEFILE
Sets the optimization level for individual procedures and
subprocedures
OVERFLOW_TRAPS
3
Controls whether overflow traps are enabled.
PAGE
Sets the string to be printed as part of the heading for each
page. Each subsequent PAGE prints the heading and causes a
page eject.
PRINTSYM
Lists symbols in the compiler listing
REFALIGNED
Specifies the default alignment for pointers to nonstructure items
and procedure reference pointers
RESETTOG
Turns off toggles
ROUND
Rounds FIXED values assigned to FIXED variables with smaller
fpoint values
SAVEGLOBALS
2
Saves global data declarations and initial values in a file for
subsequent use
SECTION
Names a section of the source file
SETTOG
Turns on toggles
Table 17-2. Compiler Directives by Name (page 2 of 3)
Directive Operation
1. The EpTAL compiler ignores this directive.
2. The EpTAL compiler does not accept this directive.
3. The pTAL and EpTAL compilers treat this directive differently.










