TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-248
#LOAD Built-In Function
Examples
Following are some examples of ?SECTION directives in library files that can be
processed by #LOAD:
?SECTION versnum TEXT
== Version of this library
14OCT91
?SECTION setmacro MACRO
== Creates a macro (%1%) defined by text (%2 to *%)
[#DEF %1% MACRO |BODY|%2 to *%]
?SECTION setvar ALIAS
== Defines a variable
SETMACRO
?SECTION nocommas MACRO
== Turns comma-separated list into space-separated list
[#DELTA /COMMANDS nocommas_d/ %*%]
?SECTION nocommas_d DELTA
== Engine for NOCOMMAS
J<:S,$;-DI $>
?SECTION inventory STRUCT
BEGIN
INT item;
INT price;
INT quantity;
END;
?SECTION obsolete^items STRUCT
LIKE inventory;