kytschBASIC

Put down that phone!
Please view me on real computer.

ASC

Returns the ASCII code of a character.

Example

DEF char$=ASC("A")

PRINT char$

LINE BREAK



PRINT ASC("E")

LINE BREAK



LET char$="B"

PRINT ASC(char$)



Output

65
69
66

See also