9 posts
Posted 22 July 2012 - 02:47 AM
I've been recently coding several files for a 'warriors archive' on one of my computers. I was working on Scourge and Firestar's archive and when finished, then tried to run it it didn't work. Error message: bios:206: [string "Blood"] :10: =' expected .
Error message:
Thanks for the help, I didn't realize it was such a simple problem, I really am clueless XD.
The code:
Spoiler
print ("entering Firestar and Scourge's archives..")
sleep (1)
print ("3")
sleep (1)
print ("2")
sleep (1)
print ("1")
print ("archive's entered")
term.clear()
end
term.setCursorPos(1,1)
sleep(5)
print ("Firestar:")
sleep(2)
print ("Name: Firestar")
print ("Rank: Leader")
print ("Clan: Thundeclan")
print ("Mate: Sandstorm")
print ("Kits: Squirrelflight, and Leafpool")
sleep (2)
print ("Mentor: Bluestar")
print ("Mother: Nutmeg")
print ("Father: Jake")
print ("Sister: Princess")
print ("Brother(half): Scourge")
sleep (5)
print ("proccessing archive…")
sleep (3)
print ("archive entered")
sleep (1)
print ("Name: Scourge")
print ("Rank: Leader")
print ("clan: Bloodclan (a rouge clan)")
print ("Mate: none")
print ("kits: none")
sleep (1)
print ("Mother: Quince")
print ("Father: Jake")
print ("Sister: name unknown")
print ("Brother: name unkown")
sleep (3)
print ("archive finished")
end some of the code is different, I changed it because of the error messages.
8543 posts
Posted 22 July 2012 - 02:58 AM
Um, take the "eof" out of there. If it's been complaining about "'eof' expected", it's because you have too many ends.
9 posts
Posted 22 July 2012 - 03:07 AM
I did, I added to the code, I'm updating it now.
Even though I changed it, it still has the same error message.
8543 posts
Posted 22 July 2012 - 03:35 AM
Let's see the new code.
9 posts
Posted 22 July 2012 - 03:59 AM
Spoiler
print ("entering Firestar and Scourge's archives..")
sleep (1)
print ("3")
sleep (1)
print ("2")
sleep (1)
print ("1")
print ("archive's entered")
term.clear()
term.setCursorPos(1,1)
sleep(5)
print ("Firestar:")
sleep(2)
print ("Name: Firestar")
print ("Rank: Leader")
print ("Clan: Thundeclan")
print ("Mate: Sandstorm")
print ("Kits: Squirrelflight, and Leafpool")
sleep (2)
print ("Mentor: Bluestar")
print ("Mother: Nutmeg")
print ("Father: Jake")
print ("Sister: Princess")
print ("Brother(half): Scourge")
sleep (5)
print ("proccessing archive...")
sleep (3)
print ("archive entered")
sleep (1)
print ("Name: Scourge")
print ("Rank: Leader")
print ("clan: Bloodclan (a rouge clan)")
print ("Mate: none")
print ("kits: none")
sleep (1)
print ("Mother: Quince")
print ("Father: Jake")
print ("Sister: name unknown")
print ("Brother: name unkown")
sleep (3)
print ("archive finished")
Well THAT was extremely simple.. XD
all I had to do was take out the ends.