| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Performs a bitwise XOR operation with two numeric integer values.
NumXOR( <nMaxBits>, ;
<nInteger1>|<cHex1>, ;
<nInteger2>|<cHex2> ) --> nInteger
The function returns the result of an exclusive OR operation with <nMaxBits> bits of both parameters as a numeric value. The bits are set in the result where the bits of both parameters are different.
| See also: | IsBit(), NumAndX(), NumNotX(), NumOrX(), NumXOR(), SetBit() |
| Category: | CT:NumBits , Bitwise functions , Numbers and Bits , xHarbour extensions |
| Source: | ct\bit1.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com