System Functions
ATH( ) Convert Hex
 
Format ATH(hex_string$[,ERR=stmtref])
 
Where:
 
hex_string$ Hex string expression to be converted to ASCII. The string must be an even number of bytes in length and consist of only the characters
0 (zero) through 9 and A through F.
 
stmtref Program line number or statement label to which to transfer control.
 
Returns ASCII value corresponding to string of hex data.
 
Description The ATH( ) function converts string containing valid hexadecimal data to ASCII. The ASCII string returned by the ATH( ) function is the converted value of each set of two hex characters to one ASCII character.
 
Examples -:h$="414243"
-:?ath(h$) ABC
 
ATH ("414240") ! yields AB@ (Hex 40= "@")