The logic operators AND , OR , NAND , NOR , XOR, XNOR and NOT are defined for the predefined data types bit and boolean . They can also be used for one-dimensional array-types ( Array ) whose elements are of the type bit or boolean . If the operators AND , OR , NAND , NOR , XOR and XNOR are to be used in this last case the following has to be taken into consideration:
Basically the same is valid for the operator NOT , however, the operation is carried out with every individual
element of the array. All binary logic operators have the lowest priority. The unary operator NOT has top priority.