Asc
Function Asc( string expression )
Returns the ASCII code of the first character of string expression .
Syntax a = Asc("Test")
Remarks
Asc returns the ASCII code (0 to 255) of the first character of expression.
To convert an integer to a character string, use the complementary Chr function. Chr returns a 1 character string when fed an ASCII value (except 0).
Restrictions
If an empty string ("") is passed to Asc, it will return 0.
See Also
Chr Mid Conversion Functions String Functions
Example Script
STRING a = "Hello"
PRINT ASC(MID(a,3,1))
PRINT ASC(a)
Script Output
108
72