Installation guide

Programming Commands 113
HVAL String Manipulation
ACTION: Returns the decimal value of a hexadecimal string.
PROGRAM SYNTAX: HVAL(A$) - used in an expression
REMARKS: A$ is the designated string variable or string literal. The string variable
format is: “0XHH” or “HH”. Where H is an ASCII 0-9 or a-f.
The converted value is returned as a decimal value.
EXAMPLES: x=HVAL(“0XFF”) ‘ x is set to 255.
A$=“1F”
x=HVAL(A$) ‘ x is set to 31