Right can anyone help me i am having problems making text adventures for the commodore 64 BASIC microcomputer. The computer keeps displaying syntax error.
Here is the code.
1 print "welcome to sample text adventure"
2 print ""
3 print "do you want to play a new game? y/n"
4 input a$
5 if a$ = "y" then 7
6 if a$ = "n" then end
7 print ""
8 print "example of text ////////////////////////////////////////////////
/////////////////////////////////////////////////////
///////////////////////////////////////////////////
/////////////////////////////////////////"
----------------end of code-------------------------
run
welcome to sample text adventure
do you want to play a new game? y/n
?y
syntax error
line 8
im sorry for the spamming i used to do i hope u can all find it in your harts to forgive me