Last updated 20 days ago
Was this helpful?
Performs a bitwise logical OR operation.
Uses the bitOr function to perform the logical OR operation on each pair of the corresponding bits
Result: 7
writeOutput( bitOr( 4, 128 ) ); writeOutput( "<br>" ); writeOutput( bitOr( 10, 0 ) );
BitOr(number1=[integer], number2=[integer])
number1
integer
true
Numeric value for bitwise OR.
number2
bitOr( 5, 3 );