pTAL Reference Manual (H06.03+)

Compiler Directives
HP pTAL Reference Manual523746-005
17-38
IF and IFNOT
RISC1
tests for a TARGET RISC1 directive in the current compilation.
TNS_ARCH
tests for a TARGET TNS_ARCH directive in the current compilation.
TNS_R_ARCH
tests for a TARGET TNS_R_ARCH directive in the current compilation.
_TNS_E_TARGET
tests for a TARGET _TNS_E_TARGET directive in the current compilation.
TARGETSPECIFIED
tests for a TARGET directive in the current compilation.
pTAL
identifies the beginning of code that is to be compiled by the pTAL or EpTAL
compiler but not by the TAL compiler:
Compiler IF pTAL IFNOT pTAL
pTAL or EpTAL True False
TAL False True
Default: None
Placement:
Anywhere in the source file (not in the compilation command)
Must be the last directive on the directive line
Scope: Everything between IF or IFNOT and the next ENDIF that specifies the
same toggle, target, or keyword
Dependencies: Interacts with:
ENDIF
DEFINETOG
SETTOG
RESETTOG
TARGET
See Toggles
on page 17-5.
References:
DEFINETOG on page 17-25
ENDIF on page 17-27
RESETTOG on page 17-52
SETTOG on page 17-56
TARGET on page 17-66