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_or()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
C4W_Or()
Return the bitwise OR of two or more numbers
------------------------------------------------------------------------------

Syntax
C4W_Or( <nValue1>, <nValue2>  [ , . . . , <nValueN> ] )   -->  nResult

Arguments
<nValue1>, <nValue2>, <nValueN> are numeric values.

Returns
The returned value is the bitwise OR of the values.

Description
This function performs a bitwise OR of the values, typically
to set a particular bit or group of bits.

Example
n = 130                       // 130 is the same as 128 + 2
? C4W_Or( n, 1 )              // Result: 131
? C4W_Or( n, 3 )              // Result: 131


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

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