RosettaCodeData/Task/Character-codes/BASIC/character-codes-2.basic
2023-07-01 13:44:08 -04:00

4 lines
159 B
Text

10 LET c = 97: REM c is a character code
20 LET d$ = "b": REM d$ holds the character
30 PRINT CHR$(c): REM this prints a
40 PRINT CODE(d$): REM this prints 98