Posted 24 June 2012 - 04:11 PM
I was coding a simple program on a mining turtle and got this error:
This was my program:
Does anyone know how to fix this? I'm fairly new to Lua so it could be a simple fix.
bios:206: [string "railing"]:2:
'do' expected
This was my program:
while true do
while i=1,8 do
turtle.forward()
turtle.placeDown()
end
turtle.forward()
turtle.select(9)
turtle.placeDown()
turtle.select(1)
end
Does anyone know how to fix this? I'm fairly new to Lua so it could be a simple fix.