This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
candycool1234's profile picture

Help line :32: expecting "="

Started by candycool1234, 30 May 2013 - 03:47 PM
candycool1234 #1
Posted 30 May 2013 - 05:47 PM
hey I've been working on this so if you could help that would be great.http://pastebin.com/ALW2fNDD
candycool1234 #2
Posted 30 May 2013 - 05:58 PM
little help please
Bubba #3
Posted 30 May 2013 - 06:10 PM
It's only been 11 minutes since you made the post. Give people at least a day to reply before bumping.

Your issue is on line 30 where you have this:

turtle.turnRight
Rather than:

turtle.turnRight()

You forgot the parentheses.
candycool1234 #4
Posted 30 May 2013 - 06:14 PM
??? I have for c = 1, 64 do non of that ???

and its 32
Bubba #5
Posted 30 May 2013 - 06:16 PM
??? I have for c = 1, 64 do non of that ???

and its 32

Yes. You get the error on line 32 because it expected you to define turtle.turnRight with an equals sign sometime after line 30 (Lua does not care about whitespace, so you could have put an equals on line 32 just as you could have put it on line 30 and it would make no difference), but when you put in something else that was not an = sign it threw the error were you put the "invalid" text. Replace the code I gave you and I guarantee that it will fix your issue.
candycool1234 #6
Posted 30 May 2013 - 06:29 PM
oh im sorry I just refreshed the page and it showed this [font/] color thing but now its refreshed that makes sence thanks
candycool1234 #7
Posted 30 May 2013 - 06:32 PM
bios:337: [string "torch"]:127: '<eof>' expected
Bubba #8
Posted 30 May 2013 - 06:34 PM
Take the "end" out on that line.
candycool1234 #9
Posted 30 May 2013 - 06:42 PM
works thanks