Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>c4w_not()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
C4W_Not()
Return the bitwise inverse of a number
------------------------------------------------------------------------------

Syntax
C4W_Not( <nValue> )   -->   nResult

Arguments
<nValue> is the numeric value.

Returns
The returned value is the bitwise inverse of the value.

Description
This function performs a bitwise NOT of the value.

You can clear some bits in a number by Anding with the inverse
(bitwise NOT) of the bits.

Example
n = 0
? n := C4W_Not( n )      // Result:  -1
? C4W_Not( n )           // Result:  0  (i.e. the original
value)


See Also: C4W_And() C4W_HiWord() C4W_LoWord() C4W_Or()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson