Document Templates : Data-types and Expressions : Expressions : Boolean Expressions

Boolean Expressions

The basic Boolean expressions are comparisons between expressions of other types. Note that not all comparisons are legal for all data-types.

 
=
<>
<
<=
>
>=
Equality
inequality
Less than
Less than or equal to
Greater than
Greater than or equal to
all
all
numeric and lists
numeric and lists
numeric and lists
numeric and lists

For LIST types, Boolean comparisons are understood in terms of inclusion. For example, for lists A and B, A < B if B contains all elements of A and also other elements.

The Boolean operations NOT, OR, and AND are also supported.

In addition there are two predefined Boolean constants: TRUE and FALSE.