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.

Example
PRINT NOT TRUE

False
Example
PRINT NOT FALSE

True
Example
PRINT NOT 11

-12
Example
PRINT NOT CByte(11)

244
Example
PRINT NOT "Gambas"

False
Example
PRINT NOT ""

True


See also
Logical Operators