Skip to main content
Home▸ Forums▸ 68kMLA▸ Apple IIc programming confusion — #4
Post #4 by david__schmidt
Source Forum68kMLA
CategorySoftware
Post DateWed, 25 Feb 2009 - 01:12
Original URLhttps://68kmla.org/bb/threads/apple-iic-programming-confusion.16696/
Post
You need all string variables.

Code:
10 home
20 input "What state do you live in?";a$
30 if a$="Ohio" then goto 50
40 if a$<>"Ohio" then goto 10
50 input "Correct! Type 'next' for the next question.";b$
60 if b$="next" then goto 70
70 home
80 input "What month is this?";c$
90 if c$="February" then goto 110
100 if c$<>"February" then goto 70
110 print "Correct! Thus concludes this program."
120 end
You'll probably be happier with ALL CAPS, too. :-)

mp.ls