Logical Operators

The following logical operators are supported by LibreOffice Basic.

Logical operators combine (bitwise) the contents of two expressions or variables, for example, to test if specific bits are set or not.

AND Operator

Logically combines two expressions.

Eqv Operator

Calculates the logical equivalence of two expressions.

Imp Operator

Performs a logical implication on two expressions.

Not Operator

Negates an expression by inverting the bit values.

Or Operator

Performs a logical OR disjunction on two expressions.

XOR Operator

Performs a logical Exclusive-Or combination of two expressions.

Please support us!