This operator performs a bit negation of a value.
Example
Dim V1 As Long, V2 as Long
V1 := 7
V2 := NOT V1
Result:
V2 gets the value -8
Declaration:
V1 contains a value from the set bits 1,2,3 = 1*2^0 + 1*2^1 + 1*2^2 = 1 + 2 + 4 = 7
V2 contains a value from the negation of all bits of the number based on a 32-bit long number.