Posted 20 November 2014 - 02:21 AM
Hello everyone. This is my first post and I'm kinda new to computercraft. Anyway, I was making a loop like this:
term.write("how many times?: ")
local input = read()
for i=1, input do
........
...........
.........
.........
i = i+1
end
After I type in my value. I get an error saying the limit must be a number, which it is. I also tried doing: for i=1, tonumber(input) do after seeing someone else doing that but it didn't work either. Please help! Thanks for any replies in advance.