Jump to content




Mining Turtle problem


  • You cannot reply to this topic
1 reply to this topic

#1 Fiixii52

  • Members
  • 4 posts

Posted 24 June 2013 - 09:09 AM

Sorry if it's bad english : I'm french.

Hello,

I made a mining turtle program but I get an " bios:338: [string "programme" (This is the name of my program)]:161: '=' expected but I did'nt find any syntax error in Ln 161.
Heelp?

Program : http://pastebin.com/HzXS6GaF

Fiixii52

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 24 June 2013 - 12:21 PM

Split into new topic.

The line above needs to be term.clear() rather than term.clear. When it gets to line 161, it's still expecting that you're about to change the value of term.clear (since the parentheses are missing), so when it finds something else but still no assignment operator, it throws the error. It's generally a good idea to look at the previous line if you can't find the listed error on the line it specifies.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users