pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

Example 352 PAGE Directive
! MYSOURCE file
?PAGE "Here are global declarations for MYSOURCE"
! Global declarations
?PAGE "Here are procedure declarations for MYSOURCE"
! Procedure declarations
PRINTSYM
PRINTSYM
lists symbols in the compiler listing.
NOPRINTSYM
suppresses symbols in the compiler listing.
PRINTSYMDefault:
AnywherePlacement:
Scope:
PRINTSYM applies to subsequent declarations until overridden by
NOPRINTSYM
NOPRINTSYM applies to subsequent declarations until overridden by
PRINTSYM
Dependencies:
PRINTSYM has no effect if NOLIST or SUPPRESS is active
PRINTSYM interacts with SAVEGLOBALS and USEGLOBALS (see Saving
Global Data Declarations (page 373))
References:
LIST (page 401)
SAVEGLOBALS (page 413)
SUPPRESS (page 420)
USEGLOBALS (page 423)
You can use PRINTSYM and NOPRINTSYM to list individual symbols or groups of symbols, such
as global, local, or sublocal declarations.
Example 353 PRINTSYM Directive
?NOPRINTSYM ! Turn off symbol listing
INT i;
INT j;
?PRINTSYM ! Turn on symbol listing
INT k;
PROFDIR
This directive can be used only with the EpTAL compiler.
PROFDIR specifies where an instrumented process will create the raw data file. For detailed
information about using the PROFDIR directive when performing profile-guided optimization, see
the Code Profiling Utilities Manual.
408 Compiler Directives