Help
Posted: Wed May 29, 2002 4:26 am
I am new here so I don't know if I can post this question here or not if I can't can you point me in the right direction? Thanks. Heres my question:
What is wrong with this soure code when you type no it doesn't follow the IF choice = y THEN GOTO 120good
01 Color 07
10 Print "Welcome to the team Soldier.
20 print "Sorry I didn't get your name."
30 print "Enter name"
40 input username$
50 print "ahh well, welcome "; username$; "."
60 Print "Your first mission is handling this computer system."
70 Print "Do you have any expirence in computers? <yes no>"
80 input yes
90 If choice = yes THEN goto 120good
100 If choice = no THEN goto 110bad
110bad print "well that is ok. We need someone right away."
120good print "your first mission is get into the russian nuclear wepon silo the server is only down for a few minutes. Understand? <Y N>"
130 input choice2
140 if choic2e = y THEN goto 180ok
150 if choice2 = n THEN goto 160poo
160poo print "Too bad you die!"
170 goto 10
180ok print "Good luck."
190 Color 10
200 Print "Russian Nuclear Silo"
210 Print "Username:"; username2$
220 input username2$
230 print "Password:"
240 input 12345
250 Print "Username and Password Accepted!
260 Print "The username "; username2$; " Is a low level username"
270 Print "Shutdown Systems. Is your only option"
280 Print "Shutting down press any key."
290 input close
300 goto 10
310 end
can you tell me whats wrong thanks in advance.
What is wrong with this soure code when you type no it doesn't follow the IF choice = y THEN GOTO 120good
01 Color 07
10 Print "Welcome to the team Soldier.
20 print "Sorry I didn't get your name."
30 print "Enter name"
40 input username$
50 print "ahh well, welcome "; username$; "."
60 Print "Your first mission is handling this computer system."
70 Print "Do you have any expirence in computers? <yes no>"
80 input yes
90 If choice = yes THEN goto 120good
100 If choice = no THEN goto 110bad
110bad print "well that is ok. We need someone right away."
120good print "your first mission is get into the russian nuclear wepon silo the server is only down for a few minutes. Understand? <Y N>"
130 input choice2
140 if choic2e = y THEN goto 180ok
150 if choice2 = n THEN goto 160poo
160poo print "Too bad you die!"
170 goto 10
180ok print "Good luck."
190 Color 10
200 Print "Russian Nuclear Silo"
210 Print "Username:"; username2$
220 input username2$
230 print "Password:"
240 input 12345
250 Print "Username and Password Accepted!
260 Print "The username "; username2$; " Is a low level username"
270 Print "Shutdown Systems. Is your only option"
280 Print "Shutting down press any key."
290 input close
300 goto 10
310 end
can you tell me whats wrong thanks in advance.