BitOr()

Performs a bitwise logical OR operation.

BitOr( number1=number, number2=number );

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.

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

See also