| |
|
| Format |
HTA(string$[,ERR=stmtref])
Where:
|
|
string$ |
String expression to convert to hexadecimal format. |
|
|
|
stmtref |
Program line number or statement label to which to transfer control. |
| |
|
| Returns |
Hex value of your string. |
| |
|
| Description |
The HTA( ) function returns the hexadecimal value of a given character string. The string returned by the HTA( ) function is always twice the length of the original string and consists solely of the (hex) characters 0-9 and A-F. |
| |
|
| Examples |
0020 LET A$=HTA("CAT") ! yields 434154 0030 LET A$=HTA("01") ! yields 3031
0040 LET A$=HTA(BIN(10,2)) ! yields 000A
|