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 or operation.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Perform a bit-wise OR operation.
------------------------------------------------------------------------------

 Syntax

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

 Arguments:

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

 Returns:

      The result of <nNumeric1> OR <nNumeric2>.

 Description:

      GT_Or() can be used for any bit oriented masking operation. GT_Or()
      is the functional equivlant of the OR instruction in assembler and
      the | operator in C.

 Examples:

      ? GT_Or(131,15)           // Print the value of 131 | 15.

 Source: OR.C

 Author:  Dave Pearson

See Also: GT_AND() GT_XOR()

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