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_and()</b> - binary and http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   bin_and() - binary AND

   nResult := bin_and(nParam...)

   nParam      32-bit integer.

   Returns     Bitwise "and" of all parameters.

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

   Example:

       #include "telepath.ch"

       tp_tflags(bin_and(tp_tflags(), bin_not(TF_ECHO)))
           // Turn off local echo.

See Also: bin_not() bin_or() bin_xor()

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