[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
c2Hex( cByte )-> <cHexString>
------------------------------------------------------------------------------
PARAMETER:
<cByte> Is a single character to be converted into its hexadecimal
expression.
RETURNS:
<cHexString> is <cByte> as a two byte string in hexadecimal form
DESCRIPTION:
c2hex() lets you convert a value form 0 - 255 into its hexadecimal format.
This is neccessary to display binary values
EXAMPLE:
+--------------------------------------------------------------+
| /* Convert to hex */ |
| MsgInfo( c2Hex( CHR(255))) -> "FF" |
+--------------------------------------------------------------+
SOURCE:
SOURCE\WINAPI\B2BIN.C
See Also:
B2Bin
Bin2D
cValToChar
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson