And
Description: | Returns the bit-wise AND of its parameters. |
Returns: | 32-bit unsigned integer |
Usage: | Script or steady state. |
Function Groups: | Bitwise Operation |
Related to: | Or | Not | XOr | Boolean Logic Operators |
Format: | And(Parm1, Parm2[, Parm3...]) |
Parameters: |
Parm1, Parm2[, Parm3 ...]) |
Required. Any number of numeric expressions. The expressions will be truncated to 32 bit unsigned integers. |
Comments: | The parameters and the result can be up to 32 bits long. If any parameter is invalid, the result is invalid. |
Example:
result = And(0b1010, 0b1100);
This example sets the variable result to 0b1000.