pTAL Reference Manual (H06.03+)
Compiler Directives
HP pTAL Reference Manual—523746-005
17-42
LIST
PUSHLIST
pushes the current setting (LIST or NOLIST) onto the LIST directive stack. Does
not change the current setting.
POPLIST
pops the top value from the LIST directive stack and changes the current setting to
that value.
For an explanation of directive stacks, see Directive Stacks on page 17-4.
Each line in the source listing consists of:
•
An edit file number
•
A lexical level:
•
A nesting level (only for BEGIN-END items such as structures, substructures, IF
statements, and CASE statements)
Default: LIST
Placement: Anywhere
Scope:
•
LIST applies to subsequent code it until it is overridden by NOLIST
•
NOLIST applies to subsequent code until it is overridden by LIST
Dependencies: LIST has no effect if SUPPRESS is active
References: SUPPRESS
on page 17-63
Lexical Level Meaning
0 Global level
1 Procedure level
2 Subprocedure level
Example 17-24. Listing Source Code But Not System Declarations
?NOLIST, SOURCE $SYSTEM.SYSTEM.EXTDECS (
? PROCESS_GETINFO_, PROCESS_STOP_)
?LIST










