$or

From Scriptwiki
Jump to: navigation, search

Performs a bit-wise OR comparison against two numbers

$or(number 1, number 2)

Examples

$or(5,6)

Binary values of each:

00000101
00000110

Leaving the bits which are in 5 OR 6

Returns: 7 (00000111)