Logical functions


Logical function

 

Description

 

and(arg1...)
or(arg1...)
xor(arg1...)

Logical and. Equivalent to arg1 & arg2 & ...
Logical or. Equivalent to arg1 | arg2 | ...
Logical exclusive or. Equivalent to ((arg1 ^ arg2) ^ ...)

 

The general rules for arguments are the same as those for the mathematical functions. See the previous topic.