|
|
|
|
- Bitwise calculation
- Binary operator
BinaryAND (Function) In french: ETBinaire 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 Syntax
<Result> = BinaryAND(<Value 1> , <Value 2>)
<Result>: Integer Result of logical AND. <Value 1>: Integer First value to test. <Value 2>: Integer Second value to test. Remarks 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.
- BinaryAND returns a precise result when you pass 4-byte integers. Passing 8-byte integers causes an overflow.
- The & binary operator is used to perform operations on 8-byte integers.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|