ENFORM Reference Manual
Logical Expressions
ENFORM Language Elements
058057 Tandem Computers Incorporated 3–25
The syntax of a logical expression is:
[NOT] 
condition 
 
 
{}
AND
OR
[NOT]
condition
 ...
condition
has one of the following forms:
field-name
 
 
[
not
]
 
 
BEGINS WITH
']'
CONTAINS
'>'
conditional operator
string-literal
[NOT]
 
 
EQUAL
EQ
IS
=
NE
<>
{}
value-range
"["
pattern-match
"]"
 
 
variable
field-name
expression
 [NOT] 
conditional-operator
 
 
variable
field-name
expression
conditional-operator
is one of the conditional operators shown in Table 3-4.
expression
is an IF/THEN/ELSE or arithmetic expression.
pattern-match
is a pattern of numbers or characters, enclosed within both quotation marks and
brackets. The syntax for a pattern-match is:
 
 
"["
nn
"]"
m
‚
n string-literal
...
m
‚
n
--
n
is an integer indicating that exactly n number of characters must precede or
follow string-literal when it is found in a field value.










