Posted 29 December 2012 - 11:57 AM
Hey, I'm just delving into the mysteries of ComputerCraft and decided to make a tree farm as my first project. I just finished writing my code, but came across an error saying it was expecting an = sign, but looking at the code, no = sign belongs on that line as far as I can tell. http://pastebin.com/um7B9xTX
Error:
How can I check multiple parameters in a while loop? a.k.a
BTW, if you see anything I should be doing differently, tell me! I'm just learning lua, and would love some tips!
Error:
bios:388: [string "TreeFarm"]:76: '=' expected
EDIT: Fixed, Thanks OmegaVest! Here's the new code: http://pastebin.com/pTdEYhGU Please tell me about anything else I should be doing!How can I check multiple parameters in a while loop? a.k.a
while condition1 = true & quantity1 > 50 do
stuff
end
EDIT: Fixed, Thanks Diegodan1983!BTW, if you see anything I should be doing differently, tell me! I'm just learning lua, and would love some tips!