TACL Reference Manual

Statements and Programs
HP NonStop TACL Reference Manual429513-018
5-9
?TACL Directive
example shows how to load two libraries, retaining only one level of each variable
in the libraries:
17> LOAD /KEEP 1/ mykeys mymacs
To invoke a variable after it is loaded, type the variable name.
To process a file, TACL pushes the variable for each ?SECTION directive, sets its
contents to type, and makes body the new top-level definition of the variable.
As a library is loaded, comments are removed to conserve variable space. Any line
that is blank, or that becomes blank because of comment removal, is discarded.
For additional information about creating and accessing a file with the ?SECTION
directive, see Creating Program Files on page 5-12.
?TACL Directive
Use the ?TACL directive to specify that the TACL statements following the directive in
a file are the contents of a TACL variable. The syntax of the directive is:
?TACL variable-type
variable-type
specifies the type of TACL variable: TEXT, ALIAS, MACRO, ROUTINE, STRUCT,
DIRECTORY, or DELTA.
Considerations
The ?TACL directive, if specified, must be the first line of the file.
To cause TACL to interpret or execute the contents of the file, type the file name.
For additional information about creating and accessing a file with the ?TACL
directive, see Creating Program Files on page 5-12.
TACL Programs
A program consists of one or more statements. You can enter the statements
interactively or store them in a file. This subsection contains information about TACL
programs:
The structure of a TACL program.
A description of how TACL interprets statements.
Instructions for creating and accessing three types of program files.
A description of completion code information.
A description of TACL error types.