Skip to content

Logical Operators

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Operators › Logical Operators

Logical Operators

Operators that perform bitwise logic

The logical operators perform logical operations on the values of their operands, and return the results. These operators are bitwise operators, in that the results are found by performing logical operations on each bit of their operands.

Operator And (Conjunction)

Returns the result of a bitwise conjunction of two operands.

Operator Eqv (Equivalence)

Returns the result of a bitwise equivalence of two operands.

Operator Imp (Implication)

Returns the result of a bitwise implication of two operands.

Operator Not (Complement)

Returns the result of a bitwise complement of an operand.

Operator Or (Inclusive Disjunction)

Returns the result of a bitwise inclusive or of two operands.

Operator Xor (Exclusive Disjunction)

Returns the result of a bitwise exclusive or of two operands.


Category: Operators


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally