pTAL Reference Manual (H06.03+)

Compiler Directives
HP pTAL Reference Manual523746-005
17-57
SETTOG
toggle-name
is an identifier.
The EpTAL compiler allows toggle-name to be RISC1, _TNS_E_TARGET, or
TARGETSPECIFIED, as long as toggle-name does not change the value of
target in the IF, IFNOT, or ENDIF statement (see IF and IFNOT on page 17-36
and ENDIF on page 17-27).
toggle-number
is an unsigned decimal constant in the range 1 through 15. Leading zeros are
ignored.
SETTOG with no arguments turns on all numeric toggles but does not affect named
toggles.
Default: None
Placement:
With a parenthesized list, it can appear anywhere
Without a parenthesized list, it must be the last directive on the
directive line or compilation command line
Scope: Applies to the compilation unit
Dependencies: Interacts with:
DEFINETOG
RESETTOG
IF
IFNOT
ENDIF
See Toggles
on page 17-5.
References:
DEFINETOG on page 17-25
ENDIF on page 17-27
IF and IFNOT on page 17-36
RESETTOG on page 17-52