The basics of BASIC, the programming language of the 1980s

David Murray (The 8-Bit Guy) explains how my generation got started in computers — Beginners All-purpose Symbolic Instruction Code. For more information on BASIC go to (GOTOWikibooks for books and Calormen (JS Basic, to run the code below).

10 REM http://www.calormen.com/jsbasic/
20 INPUT "What's your name?"; name$
30 PRINT "Hello, "; name$;
40 INPUT ", how are you? (OK/Not)"; ok$
50 IF ok$ = "OK" THEN PRINT "Glad to hear that."
60 IF ok$ <> "OK" THEN PRINT "Too BAD!"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.