ASC
The ASC function converts a single character into its ASCII value. It is the inverse of the CHAR function.
Syntax
ASC( STRING char )
Parameters
- char
- The character to get an ASCII value for.
Return value
An INT value containing the ASCII value of the supplied character. If char is more than 1 character long, then the ASCII value of the first character is returned, and if it is an empty string, then zero is returned.
Example
PRINT("ASCII value of J is: ", ASC("J"), "\n");
See Also
XJTAG v4.1.100