NOT() Function - Bitwise Logical NOT

Syntax

NOT(string{,ERR=lineref})

Description

The NOT() function toggles the bits of its string argument and returns the result.

NOT

0

=

1

NOT

1

=

0

Example

>LET Z$=NOT($74$)
>PRINT HTA(Z$)
8B

See Also

Functions - Alphabetical Listing