Created
June 14, 2014 01:05
-
-
Save erkyrath/a3cd7c4bb61cf56a0a69 to your computer and use it in GitHub Desktop.
Somebody out there will laugh...
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
BASIC is a room. | |
To (line - number) PRINT (msg - text): (- .basic_{line}; print (TEXT_TY_Say) {msg}; new_line; -). | |
To (line - number) GOTO (dest - number): (- .basic_{line}; jump basic_{dest}; -). | |
When play begins: | |
10 PRINT "Hello."; | |
20 GOTO 40; | |
30 PRINT "This is never printed."; | |
40 PRINT "Goodbye."; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment