TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-247
#LOAD Built-In Function
•
To include lines beginning with question marks, (for example, you might be loading 
DDL commands into a variable level for later use as the IN variable for a DDL run), 
double the question mark (??). The first question mark and any spaces adjacent to 
it are discarded and the remainder of the line is treated as text.
•
For each ?SECTION name type directive in a library file, TACL pushes a variable 
named name, sets its type to type, and sets its contents to text (all the text that 
follows the ?SECTION directive, until the next directive or the end of the library 
file). If the variable name already exists, TACL pushes the variable and puts text in 
the new top level.
•
#LOAD reads data from a library file in TACL format unless the file contains a 
?FORMAT PLAIN or ?FORMAT QUOTED directive to specify otherwise. If 
changed, the format reverts to TACL at the next ?SECTION directive.
•
The definition of a STRUCT in a library file cannot contain square brackets; the 
body of the structure must not be on the same line as the ?SECTION directive.
•
If you load a variable that is already loaded, TACL pushes the variable and creates 
a new variable level.
•
To obtain a list of variables loaded into your home directory, use the VARIABLES 
command or the #VARIABLES built-in function.
•
To obtain detailed information about a variable in your home directory, use the 
VARINFO command or the VARIABLEINFO built-in function.
•
To delete a variable, use the KEEP command, the #KEEP built-in function, or the 
KEEP option of the #LOAD built-in function (to delete and load a variable 
simultaneously):
#SET rslt [#LOAD /KEEP 1/ TESTS]










