TACL Reference Manual

Lexical Elements
HP NonStop TACL Reference Manual429513-018
2-9
String Constants
in the Transaction Application Language (TAL). The internal representation is a 64-bit
fixed-point binary number. The valid range is:
-9223372036854775808 to +9223372036854775807
This range is called max-int in command descriptions and function descriptions in this
manual.
These integers are valid
145
4
-89776
TACL uses integer values for logical operations and comparisons. TACL interprets
zero as FALSE and nonzero integers as TRUE.
String Constants
A string constant is any sequence of these characters, enclosed within a pair of
quotation marks (“ ”):
Nonmetacharacters from the ISO character set
Tilde-metacharacter combinations
You can include leading and trailing spaces within the quotation marks. Use a string
constant with functions that accept string arguments. In addition, you can use a string
constant in place of a variable level in many built-in functions, such as built-in functions
that manipulate variables (functions with names that end in “V”). For example, the
#LINEFINDV function accepts a string constant.
These string constants are valid:
“ Error on input ”
“456”
Reserved Words
A reserved word is a predefined, symbolic name that has special meaning to TACL.
Reserved words cannot be redefined; if you try to redefine one, TACL returns an error.
Reserved words include:
All built-in variable names
All built-in function names
To define a new level of a built-in variable, use the PUSH command or the #PUSH
built-in function. You can then specify a new value for the built-in variable while