expr1 XOR expr2

The bitwise exclusion operator.


expr1The first expression.
expr2The second expression.

REMARKS
* This is an Operator.
* For the Microsoft documentation refer to docs.microsoft.com

Dim iOne As Integer 
Dim iTwo As Integer
Dim iThree As Integer
Dim bOne As Boolean
Dim bTwo As Boolean
Dim bThree As Boolean

iOne = 30
iTwo = 20
iThree = 10

bOne = (iOne > iTwo) Xor (iTwo > iThree)
bTwo = (iTwo > iOne) Xor (iTwo > iThree)
bThree = (iTwo > iOne) Xor (iThree > iTwo)

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top