QBasic 1.1 Commands List: ASC Function

Syntax
ASC(stringexpression$)
CHR$(ascii-code%)
Description / Parameter(s)
stringexpression$ Any string expression
ascii-code% The ASCII code of the desired character

Example

PRINT ASC("Q") 'Output is: 81 PRINT CHR$(65) 'Output is: A