Please Enter Your Search Term Below:
 Websearch   Directory   Dictionary   FactBook 
  Wikipedia: Turbo BASIC programming language

Wikipedia: Turbo BASIC programming language
Turbo BASIC programming language
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


  

From Wikipedia, the free encyclopedia. 
Modified by Geona