PICO-8 Wiki
Advertisement
bor( first, second )
Calculates the bitwise or of two numbers.
first
The first number.

second
The second number.

Examples

--     0x5 = 0101 binary
--  or 0x9 = 1001 binary
-- -------
--     0xd = 1101 binary
print(bor(0x5, 0x9))  -- 13 (0xd)

See also

Advertisement