Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>perform a bit-wise and operation.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Perform a bit-wise AND operation.
------------------------------------------------------------------------------

 Syntax

        GT_And(<nNumber1>,<nNumber2>) --> nResult

 Arguments:

      <nNumber1> and <nNumber2> are two numbers that you whish to
      AND together.

 Returns:

      The result of <nNumeric1> AND <nNumeric2>.

 Description:

      GT_And() can be used for any bit oriented masking operation. GT_And()
      is the functional equivlant of the AND instruction in assembler and
      the & operator in C.

 Examples:

      ? GT_And(131,15)           // Print the value of the top nibble.

 Source: AND.C

 Author:  Dave Pearson

See Also: GT_OR() GT_XOR()

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