Gambas Documentation - /cat/logicop

/cat/logicop

# Logical Operators

Number `AND` Number | Computes the mathematical and of the binary value of the two numbers.
`NOT` Number | Computes the logical not of the binary value of Number.
Number `OR` Number | Computes the mathematical or of the binary value of the two numbers.
Number `XOR` Number | Computes the mathematical exclusive or of the binary value of the two numbers.

The numbers may be Boolean, Byte, Short, Integer or Long variables.

### See also

- Bits Manipulation Functions