Not

Description:              This function returns the result of a 32 bit unsigned bitwise logical NOT operation.

Returns:                    32 bit unsigned integer

Usage:                       Script or Steady State

Format:                      Not(Value)

Parameters:             Value    { numeric }  { required }  { no default }

                                      Any numeric expression. The expression will be truncated to a 32 bit unsigned integer.

Comments:               If Value is invalid, the return value is invalid.

Examples:

r = Not(1);

s = Not(-1);

t = Not(0);

u = Not(-3);

The values of r, s, t and u will be -2 (0xFFFFFFFE), 0 (0x00000000), -1 (0xFFFFFFFF) and 2 (0x00000002) respectively.

See Also:

And | Or | XOr