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

Example 355 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)
SETTOG
SETTOG turns on either specified toggles or all numeric toggles.
toggle-name
is an identifier with a maximum of 31 characters in length.
The only characters allowed in a toggle-name are alphabetic (“A through “Z” and a” through
z’), numeric (‘0” through “9”), underscore (“_”), and circumflex (“^”); the first character must
be alphabetic.
Names are case-insensitive (For example, abc is the same as Abc.)
toggle-number
is an unsigned decimal constant in the range 1 through 15. Leading zeros are ignored.
target
is as defined in “TARGET” (page 423).
In TAL, a warning is returned if a target is specified and the SETTOG directive is ignored. In
pTAL and EpTAL, SETTOG can only be applied to a target that was specified in a previously
compiled TARGET directive.
SETTOG 415