Not

Invert a Boolean value, or every bit of a numeric variable.

Syntax: var = Not(var)

Example:

Dim x as uByte

x=0xAA
x=Not(x)	' x is now 0x55

PORTB.1=Not(PORTB.1)	' toggle PORTB bit 1
 

Also See: