NOT

Top  Previous  Next

Syntax

return = NOT(num)

Description

Returns the ones compliment of the number.

Parameters

num - CHAR, WORD, INT, UINT, INT64, UINT64 parameter

Return value

The ones compliment otherwise known as a bitwise NOT.

Remarks

In binary NOT turns all 0's into 1's and all 1's into 0's

Example usage

PRINT NOT(1)