TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-199
#INFORMAT Built-In Variable
TACL passes the brackets as text to TEDIT. Preceding any TACL metacharacter
(including the tilde character itself) with a tilde causes TACL to consider it as simple
text.
Table 9-11 lists the difference in text storage between TACL and QUOTED settings
after the variables are initialized as follows (#OUTFORMAT is set to PLAIN):
#PUSH var b
#SET b $
These examples show differences in text storage between #SETV and #SET with the
QUOTED #INFORMAT setting (#OUTFORMAT is set to PLAIN):
15> #PUSH var
16> #SET var “abc[def]ghi“
17> #OUTPUTV var
“abc[def]ghi“
18> #SETV var “abc[def]ghi“
19> #OUTPUTV var
abc[def]ghi
20>
Table 9-11. #INFORMAT Results
TACL Operation #INFORMAT Set to TACL #INFORMAT Set to QUOTED
#SET var a[b]c a$c a$c
#SET var “a[b]c” “a$c” “a[b]c”
#SET var “a~[b~]c” “a[b]c” “a~[b~]c”