<< Prev        Next >>

ID : 3800

Not Operator

Function

To obtain logical NOT of expressions.

Syntax

Not expression

Guaranteed Entry

expression
Designate integer type data.

Return Value

Return integer type data.

Description

The following table is a correspondence table of values of the expression expression and operation result (result) values.

expression result
True False
False True
Not operator also performs bitwise inversion for the variable. Corresponding bits in the operation result (result) are set according to the next truth value table.
expression result
0 1
1 0

Attention

-

Example

-

ID : 3800

<< Prev        Next >>