EMS Manual

Compiled Filters
EMS Manual426909-005
5-26
Declarations
Precedence of Operators
The operators following are listed in the order of their evaluation. The compiler
evaluates comparisons first, then NOT, and so forth.
Comparisons (< <= > >= = <> )
NOT
AND
OR
Assignment ( := )
Declarations
The FILTER declaration is the declaration for the entire filter, which includes options to
declare a filter name, filter parameters, and Boolean variables. Boolean variables are
the only variables that you can declare.
Some components of the FILTER declaration are described in separate subsections for
quick reference.
AND (A AND B) is a Boolean expression that is TRUE if both A and B are
TRUE. Otherwise (A AND B) is FALSE. (If A is FALSE, B is not
evaluated.)
OR (A OR B) is a Boolean expression that is TRUE if A is TRUE, if B is
TRUE, or if both A and B are TRUE. Otherwise (A OR B) is FALSE.
(If A is TRUE, B is not evaluated.)
NOT (NOT A) is a Boolean expression that is TRUE if A is FALSE.
Otherwise (NOT A) is FALSE.
( A ) A Boolean expression surrounded by parentheses is also a Boolean
expression.
comparison A comparison is a Boolean expression. For details, see
Comparisons
on page 5-19.
EMSTEXTMATCH
function
EMSTEXTMATCH, a Boolean expression, is a Boolean function. For
details, see EMSTEXTMATCH Function
on page 5-39.
LITERALLY function LITERALLY, a Boolean expression, is a Boolean function. For details,
see LITERALLY Function
on page 5-41.
MATCH
function
MATCH, a Boolean expression, is a Boolean function. For details,
see MATCH Function
on page 5-42.
TOKENPRESENT
function
TOKENPRESENT, a Boolean expression, is a Boolean function. For
details, see TOKENPRESENT Function
on page 5-43.
Table 5-3. Elements of Boolean Expressions (page 2 of 2) (continued)
Element Description