Not inverses all the bits in its operand.


Not <expression>


Print Not -43, Not False
'This will display " 42     True".


The following are some arithmetic identities involving Not.

Not X = X Xor True
Not Not X = X
Not X = True - X 'Warning: causes type conversion to Integer when working with a Boolean
Not X Or Not Y = Not (X And Y)
Not X And Not Y = Not (X Or Y)
X Imp Y = Not X Or Y
X Xor Y = (X Or Y) And Not (X And Y)