BitOr

Returns the bitwise OR of two long integers

See also BitAnd, BitNot, and BitXor.

Syntax

BitOr(number1, number2)
number1, number2

Any long integers.

Usage

Bit functions operate on 32-bit integers.

Examples

<!--- This example shows BitOr --->
<HTML>
<HEAD>
<TITLE>BitOr Example</TITLE>
</HEAD>

<BODY>
<H3>BitOr Example</H3>

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>

</BODY>
</HTML>       

1