ATH() Function - Convert ASCII to Hexadecimal
Syntax
ATH(string{,ERR=lineref})
Description
The ATH() function converts a human-readable hexadecimal string to the internal form.
Parameter |
Description |
---|---|
string |
Human-readable hexadecimal string. The string argument may contain only 0 to 9, A to F, and a to f. If the length of the string is odd, a zero is assumed at the left of the first character. |
ERR=lineref |
Branch to be taken if an error occurs during execution. |
HTA() is the complementary function to ATH(). For example, ATH(HTA(X$)) returns X$.
Examples
>PRINT ATH("414243")
ABC
2310 LET X$=ATH(HEX$,ERR=9500)