ASC(INKEY$()) gives you ASCII code of each key you press.
When you press enter key on the keyboard on bottom screen, it'll give you 13.
Try to execute the following program.
WHILE TRUE
VSYNC 1:ST$=INKEY$()
IF ST$!="" THEN ?ASC(ST$)
WEND
2そうだね 未プレイ