[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_BIN2HEX()
 Convert a binary string to hexidecimal
------------------------------------------------------------------------------
 Syntax
 
       fn_Bin2I( <cBinStr> ) -> cHexStr
 
 Arguments

      <cBinStr> is a string of bytes representing a number.

 Returns

      A string containing the hexdecimal value of <cBinStr>.

 Description

      Internally, all information is stored as a series of bytes.  When
      performing a direct read from memory, a character string will be
      returned.  Use this function to convert that string to its
      hexidecimal numeric equivalent.

 Examples

      /* convert a string containing CHR(0)+CHR(0)+CHR(222)+CHR(175) */

      ? fn_Bin2Hex( "  #." )                                                    // "    DEAF"


 Source: N:\SRC\MISC\FNHEX.PRG

 Author: Steve Larsen

See Also: fn_Hex2Bin() fn_Bin2I() fn_PeekStr() fn_PokeStr()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson