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

Oreberry bush farm

Started by bjornK, 06 January 2017 - 09:28 PM
bjornK #1
Posted 06 January 2017 - 10:28 PM
I am new to computercraft and that is way i am making a topic here.

i am getting the following syntax error from my mine ing bot:
test:22: attempt to perform arithmetic__mul on nil and number

i used the following code:

http://pastebin.com/eGX6iZD8

can somebody please help me
Bomb Bloke #2
Posted 07 January 2017 - 12:09 AM
That code won't produce that error - you're not performing multiplication on the 22nd line of your paste, and the lines where you are performing multiplication don't appear to involve nil values.

Double check that the code that you're running is the code that you think you're running.