xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

NumNOT()

Performs a bitwise NOT operation with a numeric integer value.

Syntax

NumNOT( <nInteger>|<cHex> ) --> nNOTed_Integer

Arguments

<nInteger>
A numeric 32-bit integer value can be specified as first parameter.
<cHex>
Alternatively, the integer can be passed as a hex-encoded character string (see NumToHex()).

Return

The function returns a numeric integer value with all bits inverted.

Info

See also:IsBit(), NumAND(), NumNotX(), NumOR(), NumXOR(), SetBit()
Category: CT:NumBits , Bitwise functions , Numbers and Bits
Source:ct\bit1.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe