Returns the result of a logical AND (bit by bit) between two values.
// Retrieve the result of a logical AND
ResBinaryAND = BinaryAND(6, 6) // Returns 6
ResBinaryAND = BinaryAND(6, 2) // Returns 2
<Result> = BinaryAND(<Value 1> , <Value 2>)
Result of logical AND.
<Value 1>: Integer
First value to test.
<Value 2>: Integer
Second value to test.
BinaryAND performs the bitwise calculation between <Value1> and <Value2> based on the following table:
- BinaryAND is equivalent to the & binary operator. For more details, see Binary operators.
- The & binary operator is used to perform operations on 8-byte integers.