BitNot

Returns the bitwise NOT of a long integer.

See also BitAnd, BitOr, and BitXor.

Syntax

BitNot(number)
number

Any long integer.

Usage

Bit functions operate on 32-bit integers.

Examples

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

<BODY>
<H3>BitNot Example</H3>

Returns the bitwise NOT of a long integer.

<P>BitNot(0): <CFOUTPUT>#BitNot(0)#</CFOUTPUT>

<P>BitNot(255): <CFOUTPUT>#BitNot(255)#</CFOUTPUT>

</BODY>
</HTML>       

1