Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - i2hex() converts a word (2 bytes) into a hex string (4 chars) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 I2Hex()         Converts a word (2 bytes) into a hex string (4 chars)
--------------------------------------------------------------------------------

   Syntax:              I2Hex( <nWord> )  --> <cHex>


   Parameters:

   <nWord>              A number in the range 0-65535.

   Returns:

   <cHex>               A four characters hex string.

   Sample:              MsgInfo( I2Bin( 1234 ) )  // returns a "04D2" hex

   Source code:         SOURCE\\FUNCTION\\Or.c

   See also:            C2Hex() L2Hex()


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