User Guide
Variable Types and Conversions
57
Axcess Programming Language
Conversion Keywords (Cont.)
ITOHEX ITOHEX stands for "integer to hexadecimal". It works in the same manner as
ITOA, except that the integer is transformed into a hexadecimal ASCII string.
If you substitute the ITOA keywords in the previous example with ITOHEX key-
words, this would be the result:
STR = ITOHEX(123) (* STR = '7B' *)
STR = ITOHEX(CONST) (* STR = '1C8' *)
STR = ITOHEX(VAR) (* STR = '315' *)
Notice there are no dollar signs ($) in the results. This is because the dollar
sign indicates a numerical value expressed in hexadecimal, and is only used
when telling Axcess that a number is hexadecimal.