pTAL Reference Manual (H06.08+)
Compiler Directives
HP pTAL Reference Manual—523746-006
17-58
SETTOG
SETTOG
SETTOG turns on either specified toggles or all numeric toggles.
Default: None
Placement:
•
Only in the source file (not in the compilation command)
•
Must be the only directive on the directive line
Scope: Applies to subsequent code until another SECTION directive or the end
of the file, whichever is first
Dependencies: Interacts with SOURCE (see Section Names
on page 17-61)
References: SOURCE
on page 17-60
Example 17-30. SECTION Directive
APPLLIB File
! File ID APPLLIB
?SECTION sort_proc
PROC sort_on_key(key1, key2, key3, length);
INT .key1, .key2, .key3, length;
BEGIN
...
END;
?SECTION next_proc
SOURCE directive that includes section sort_proc of the preceding file:
?SOURCE appllib (sort_proc)
toggle-number
,
toggle-name
toggle-number
( )
,
toggle-name
VST172.vsd
SETTOG










