Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>bin_xor()</b> - binary exclusive or http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   bin_xor() - binary exclusive OR

   nResult := bin_xor(nParam...)

   nParam      32-bit integer.

   Returns     Bitwise exclusive "or" of all parameters.

   Returns the binary exclusive "or" of its list of parameters.  Each
   parameter must be a numeric integer, and the result is the bitwise
   exclusive "or" of all of the parameters.

   Example:

       #include "telepath.ch"

       tp_tflags(bin_xor(tp_tflags(), TF_ECHO))
           // Toggle local echo--turn off if now on, on if now off.

See Also: bin_and() bin_not() bin_or()

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