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

Pastebin get tUAVdizN

Started by Burhan.Salman, 08 January 2015 - 09:17 PM
Burhan.Salman #1
Posted 08 January 2015 - 10:17 PM
I made this code for a mining turtle. It is partially complete. When I run the function digDown() it tells me that the limit for that for loop must be a number.(line 35). I do not understand why it does not consider that variable a number.
Bubba #2
Posted 08 January 2015 - 10:43 PM
You're not using for loops correctly. The PIL manual describes how the for loop is used in Lua. As of right now, you're using a boolean where you should have a number.