Skip to content

NOT

Category: Bitwise / Logical Operator
Syntax: NOT expression

Description

Performs a bitwise complement (inversion) on an integer expression (flips all bits). Note: For logical boolean inversion, use the exclamation mark symbol (!).

See also

Example

10 LET A = NOT 0
20 PRINT(A)