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

IF, IFNOT, and ENDIF
target
Implicitly ResetsImplicitly SetsCompiler
_TNS_E_TARGETpTAL
RISC1
TARGETSPECIFIED
RISC1EpTAL
_TNS_E_TARGET
TARGETSPECIFIED
pTAL
IFNOT pTALIF pTALCompiler
FalseTruepTAL or EpTAL
TrueFalseTAL
NoneDefault:
Placement:
Anywhere in the source file (not in the compilation command)
IF or IFNOT must be the last directive on its directive line
ENDIF must be the only directive on its directive line
Everything between IF or IFNOT and the next ENDIF that specifies the same
toggle, target, or keyword
Scope:
504 Syntax Summary