[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function: Dec_Hex
---------
FORCE Prototype:
----------------
PROCEDURE Dec_Hex PROTOTYPE
PARAMETERS CONST CHAR result_buffer, VALUE LONG number
Description:
------------
Dec_Hex() is a strange procedure, but can sometimes be
useful. It takes a string buffer, and a LONG value, and prints
the value in Hexidecimal into the string buffer.
VARDEF
CHAR buffer
ENDDEF
Dec_Hex( buffer, 19088743)
? buffer && prints 0x01234567
Note: This function is in the library, but with the leading
underscore (_). So I wrote a wrapper function called _dec_hex()
and included it in the COMMON.LIB. It does nothing more than
push the values on to the stack and call dex_hex().
===================================================================
--------------------------------------------------------------------
(undoc.faq) 6.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson