And (Function)

Get the logical product (AND) of 2 specified expressions.

<expression1> And <expression2>

Parameters
<expression1>
The expression (integer type) that requests the logical product.
<expression2>
The expression (integer type) that requests the logical product.

Return Value
Returns the value of the integer.
The content of the value is the logical product of the 2 specified expressions.

Description
Values from -2147483648 to 2147483647 can be specified for <Expression 1> and <Expression 2>.
When the values of <Expression 1> and <Expression 2> are double-precision type, the fractional part is handled as a rounded value.
It can also be used in an If statement as an And condition.Refer to refCalculation - Macro Program Rules for details on logical expressions.

Example
Get the logical product of 2 values X and Y.
      X&=15

        Y&=8 
        DATA&=X& And Y& 

The result is as follows:
DATA&=8