pTAL Reference Manual (H06.08+)
Compiler Directives
HP pTAL Reference Manual—523746-006
17-59
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-39
and ENDIF on page 17-29).
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-27
•
ENDIF on page 17-29
•
IF and IFNOT on page 17-39
•
RESETTOG on page 17-54










