Conversion Keywords (Cont.)
ITOHEX
Axcess Programming Language
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 = ITOHEX(CONST)
STR = ITOHEX(VAR)
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.
Variable Types and Conversions
(* STR = '7B' *)
(* STR = '1C8' *)
(* STR = '315' *)
57
Need help?
Do you have a question about the AXCESS CONTROL SYSTEM PROGRAM and is the answer not in the manual?