From Wikipedia, the free encyclopedia.
Here is an example of a routine for turbo basic.
===
1
input "Please type your name and press enter" na$
print "Thanks "na$"! That's a cool name!"
print "You go outside and walk into the forest."
print "You find a gold mine with a large wooden lock on it!"
print "1 = Try to open the lock"
print "2 = Go home"
goto 2
2
input "What is your choice" a
if a = 1 then goto 10
if a = 2 then end
goto 2
10
print "You get in and take gold and go home"
end

