I started using a for loop with variable but that dint work so i tried a while loop and it seems that hasn't worked either so now its down to those ninja coding experts to try and help me!
:11:end expected (to close if at line 9)
Any help Much Appreciated!
print("Robin's Straight Line Program V1.0")
print("How long do you want your line to be?")
x = read()
while true do
turtle.forward()
turtle.placeDown()
x = x-1
if (x == 0) then
break
print("Finished!")
end
Edited by Robinlemon, 05 April 2014 - 08:09 AM.












