BitOr

Performs a bitwise logical OR operation.

BitOr( number1, number2 )

Returns: Number

Argument Description
number1
number, required

an integer

number2
number, required

an integer

Examples

The following code example will output an example numbers returned from the bitOr() function.

luceescript+trycf writeOutput(bitOr(4,128)); writeOutput("<br>"); writeOutput(bitOr(10, 0));

See also