bit.logicalOr
| Syntax |
bit.logicalOr (bits1, bits2)
|
| Params |
bits1 is a 32-bit number. bits2 is a 32-bit number.
|
| Action |
Performs the logical OR operation on the two values
|
| Returns |
The logical OR of bits1 and bits2
|
| Examples |
bit.logicalOr (5, 9) » 13
string.hex (bit.logicalOr (0x1FFFF, 0x20000))
|
| See Also |
bit.logicalAnd
|