Bitxor - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

BitXor

Description
Performs a bitwise logical XOR operation.
Returns
Bitwise XOR of two long integers.
Category
Mathematical functions
Function syntax
BitXor(number1, number2)
See also
BitAnd, BitNot,
Parameters
Parameter
number1
number2
Usage
Bit functions operate on 32-bit signed integers, in the range -2147483648 – 2147483647.
Example
<h3>BitXOr Example</h3>
<p>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>
BitOr
Description
32-bit signed integer
32-bit signed integer
BitXor
409

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents