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

Bios:338: [string "dig"] :1: '=' expected

Started by Crazykilla0751, 29 March 2013 - 09:05 AM
Crazykilla0751 #1
Posted 29 March 2013 - 10:05 AM
i am trying putting this code into a. Computer on ftb for my miner frame that moves and that i want to be able to control from a computer. I keep getting this error and i keep looking through it and can't figure out what it means I kno it's saying line 1 but I have no clue. Heres the pastebin link
http://pastebin.com/XPbxSKYB
Thanks for some help!
Engineer #2
Posted 29 March 2013 - 10:07 AM
Line 1 is funtion something()
It should be function, typo's are very common
robhol #3
Posted 29 March 2013 - 10:07 AM
Spelling is important - therefore, it's a real bummer if the first word in your code is incorrect.

Lua takes a wild guess and thinks, mistakenly, that there should be a = there because it doesn't recognize "funtion".
Crazykilla0751 #4
Posted 29 March 2013 - 10:10 AM
Omg I feel like an idiot ;(

I'm sorry for wasting your guys time for a typo…
Engineer #5
Posted 29 March 2013 - 10:28 AM
Omg I feel like an idiot ;(

I'm sorry for wasting your guys time for a typo…
Dont feel bad. This is what the 'ask a pro' section is for.