Contents Up << >>
Logical operators
The logical operators are AND, OR, NAND, NOR, XOR, and XNOR with their
normal meaning. These operators are defined for bit and boolean types,
as well as one-dimensional arrays of a bit or boolean type. If a logical
operator is used with one-dimensional arguments, then the arrays must be
of the same length and the result is a one-dimensional array whose elements are
the result of applying the operator to the corresponding elements of the
array arguments.