RosettaCodeData/Task/Character-codes/BASIC/character-codes-2.basic

5 lines
159 B
Text
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
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