Previous Topic Next topic Print topic


INOT Function

Purpose

Calculates the logical NOT of a FIXED BINARY value.

Syntax

INOT(x)

Parameters

x is an expression that must have a computational type.

Description

INOT returns the logical NOT of its argument x.

If x is not of type FIXED BIN, then x is converted to FIXED BIN.

The result is of type FIXED BIN, with the precision being the same as its argument.

Examples

inot(0)     /* returns -1 */
inot(-1)    /* returns  0 */
inot(+1)    /* returns -2 */

Restrictions

None.

Previous Topic Next topic Print topic