|
|
|
|
- Bitwise calculation
- Bitwise operator
BitwiseOR (Function) In french: OUBinaire
Warning
From version 2024, BinaryOR is kept for backward compatibility. This function has been replaced with BitwiseOR.
Returns the result of the (bitwise) logical OR between two values. // Retrieve the result of a logical OR ResBitwiseOR = BitwiseOR(6, 6) Â // Returns 6 ResBitwiseOR = BitwiseOR(6, 2) Â // Returns 6 Syntax
<Result> = BitwiseOR(<Value 1> , <Value 2>)
<Result>: Integer Result of logical OR. <Value 1>: Integer First value to test. <Value 2>: Integer Second value to test. Remarks BitwiseOR performs the bitwise calculation between <Value 1> and <Value 2> based on the following table: - BitwiseOR is equivalent to the | bitwise operator for 4-byte integers. For more details, see Bitwise operators.
- BitwiseOR returns a precise result when you pass 4-byte integers. Passing 8-byte integers causes an overflow.
- The | operator can be used to perform bitwise operations between 8-byte integers.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|