<< Prev        Next >>

ID : 3799

And Operator

Function

To obtain logical AND of 2 expressions.

Syntax

expression1 And expression2

Guaranteed Entry

expression1
Designate a conditional expression or numeric data.
expression2
Designate a conditional expression or numeric data.

Return Value

Return the logical AND by integer type data.

Description

The logical OR is obtained by bit operation.

expression1 expression2 result
False False False
False True False
True False False
True True True

Bit Operation

This operator also performs bitwise comparison with corresponding bits in 2 formulas. Corresponding bits in the operation result result are set according to the next truth value table.

expression1 expression2 result
0 0 0
0 1 0
1 0 0
1 1 1

Attention

-

Example

-

ID : 3799

<< Prev        Next >>