pTAL Reference Manual (H06.03+)
Compiler Directives
HP pTAL Reference Manual—523746-005
17-39
INNERLIST
If you insert an ENDIF for the IF in the code in Example 17-21 on page 17-39, as in
Example 17-22 on page 17-39, the compiler skips only the first part.
An asterisk (*) appears in column 11 of the listing for any statements not compiled
because of the IF or IFNOT directive.
INNERLIST
INNERLIST
lists mnemonics for each statement after that statement in the compiler listing.
NOINNERLIST
suppresses the mnemonics for each statement after that statement in the compiler
listing.
Example 17-21. IF Directive Without Matching ENDIF Directive
?RESETTOG flag ! Create & turn off flag
?IF flag
! Statements for true condition
! (skipped because flag is off)
?IFNOT flag
! Statements for false condition
! (also skipped, because no ENDIF appears for IF flag)
?ENDIF flag
Example 17-22. IF Directive With Matching ENDIF Directive
?RESETTOG flag ! Create & turn off flag
?IF flag
! Statements for true condition
! (skipped because flag is off)
?ENDIF flag ! ENDIF stops the skipping of statements
?IFNOT flag
! Statements for false condition
! (compiled because ENDIF appears for IF flag)
?ENDIF flag
INNERLIST
POPINNERLIST
PUSHINNERLIST
NOINNERLIST
VST149.vsd










