<< Prev        Next >>

ID : 633

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 : 633

<< Prev        Next >>