Chapter 2: ColdFusion Functions
BitXor
Returns bitwise XOR of two long integers.
See also BitAnd,
Syntax
BitXor( number1 , number2 )
number1, number2
Any long integers.
Usage
Bit functions operate on 32-bit integers.
Examples
<!--- This example shows BitXOr --->
<HTML>
<HEAD>
<TITLE>BitXOr Example</TITLE>
</HEAD>
<BODY>
<H3>BitXOr Example</H3>
Returns the bitwise XOR of two long integers.
<P>BitXOr(5,255): <CFOUTPUT>#BitXOr(5,255)#</CFOUTPUT>
<P>BitXOr(5,0): <CFOUTPUT>#BitXOr(5,0)#</CFOUTPUT>
<P>BitXOr(128,128): <CFOUTPUT>#BitXOr(128,128)#</CFOUTPUT>
</BODY>
</HTML>
BitNot,
and BitOr.
289
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers