ASC |
![]() ![]() |
code = ASC( char AS STRING ) AS INTEGER
Returns the integer ASCII code of a character. Note that the string must be as single character string. If empty or has more than 1 character it will return with an error.
Example:
PRINT "ASCII Code for 'A' = ";ASC( "A" ), ' ASCII Code for 'A' = 65
|