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

[Programming][Help]Make a program do something a certain number of times?

Started by EmTeaKay, 25 September 2012 - 06:44 PM
EmTeaKay #1
Posted 25 September 2012 - 08:44 PM
I found out how to do it.
No worries.
Cranium #2
Posted 25 September 2012 - 09:11 PM
It's always a good idea to post your solution though, for those who do not know, or are searching the forums for help.
I guess you used a for loop, with something like this:

for i = 1,5 do
--does this code 5 times
end