Home / lang / not 
NOT
Syntax
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, and FALSE if it is not null.

Examples

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

Logical Operators