Created
April 8, 2023 21:28
-
-
Save XReyRobert/0d74bb49588ef526f3a7da491d10fed7 to your computer and use it in GitHub Desktop.
AppleSoft BASIC Chat-Like Dialog for Apple //e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 PRINT "HELLO! WHAT IS YOUR NAME?" | |
20 INPUT N$ | |
30 PRINT "NICE TO MEET YOU, " + N$ + "!" | |
40 PRINT "HOW ARE YOU DOING TODAY? (GOOD/BAD)" | |
50 INPUT A$ | |
60 IF A$ = "GOOD" THEN GOTO 80 | |
70 IF A$ = "BAD" THEN GOTO 90 | |
75 PRINT "I DIDN'T UNDERSTAND. PLEASE ANSWER WITH 'GOOD' OR 'BAD'." | |
76 GOTO 40 | |
80 PRINT "I'M GLAD TO HEAR THAT, " + N$ + "!" | |
85 GOTO 100 | |
90 PRINT "I'M SORRY TO HEAR THAT, " + N$ + ". I HOPE YOUR DAY GETS BETTER!" | |
100 PRINT "IT WAS NICE CHATTING WITH YOU, " + N$ + ". GOODBYE!" | |
110 END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment