BNot - Operator (Logical negation)

Concerns

This operator performs a logical negation of a value.

Example

Dim V1 As Long, V2 as Long

V1 := 7

V2 := BNot V1

Result:

V2 gets a value of 0 (False)

 

V1

V2 (Result)

0

-1 (True)

<> 0

0 (False)