Siebel VB Language Reference > VB Language Overview > VB Expressions >

Logical Operators


Operator
Comments

NOT

Unary Not—operand can be Integer or Long. The operation is performed bitwise (one's complement).

AND

And—operands can be Integer or Long. The operation is performed bitwise.

OR

Inclusive Or—operands can be Integer or Long. The operation is performed bitwise.

XOR

Exclusive Or—operands can be Integer or Long. The operation is performed bitwise.

EQV

Equivalence—operands can be Integer or Long. The operation is performed bitwise. (A EQV B) is the same as (NOT (A XOR B)).

IMP

Implication—operands can be Integer or Long. The operation is performed bitwise. (A IMP B) is the same as ((NOT A) OR B).

Siebel VB Language Reference