BitOr

Performs a bitwise logical OR operation.

A number; the bitwise OR of two long integers.

Mathematical functions

BitOr(number1, number2)

BitAnd, BitNot, BitXor

Parameter Description

number1

32-bit signed integer

number2

32-bit signed integer

Bit functions operate on 32-bit signed integers, in the range -2147483648 - 2147483647.

<h3>BitOr Example</h3>
<p>Returns the bitwise OR of two long integers.

<p>BitOr(5,255): <cfoutput>#BitOr(5,255)#</cfoutput>
<p>BitOr(5,0): <cfoutput>#BitOr(5,0)#</cfoutput>
<p>BitOr(7,8): <cfoutput>#BitOr(7,8)#</cfoutput>

View comments on LiveDocs