
732 Appendix B
Expression Evaluator Functions
WORD(string,[,delims
]
[,nth][,end_var][,start])
performs
general word
extraction;
default delims
are a space, a
comma, a
semicolon, an
equals sign, left
and right
parentheses,
left and right
brackets, single
quote, double
quote, and Tab;
default nth is 1;
the default
end_var is no
variable; the
default start is 1
WORD('file a=bb,old;
rec=40,,f,ascii')
WORD('file a=bb,old;
rec=40,,f,ascii',,-4,j)
'file'
'40', j=18
XOR logical
exclusive or
7=7 xor 5=5 TRUE
XWORDstring) returns a string
less ‘word’
xword(‘file a=bb, old;
rec=40, ,f, ascii’)
xword(‘file a=bb, old;
rec=40, ,f, ascii’ , ,2)
xword(‘file a=bb, old;
rec=40, ,f, ascii’ , “ ; , “ ,
, j, 8)
xword(‘file a=bb, old;
rec=40, ,f, ascii’ , , -4, j)
‘a=bb,old;rec=40, , f, ascii’
‘file bb, old; rec=40 , , f, ascii’
‘file a=old; rec=40 , ,f , ascii’
and J=10
‘file a=bb, old;rec=, f, ascii ‘
and J=18
Symbol Function Example Result