NOT

Result = NOT Expression

Computes the logical not of an expression. If Expression is a string or an object, it returns TRUE if Expression is null. See NULL or IsNull() for more detail.


Example

PRINT NOT TRUE

False

PRINT NOT FALSE

True

PRINT NOT 11

-12

PRINT NOT CByte(11)

244

PRINT NOT "Gambas"

False

PRINT NOT ""

True


See also

AND, BChg, BClr, BSet, BTst, OR, Rol, Ror, Shl, Shr, XOR


Previous: NEXT Next: Now