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

How to make some type of loop

Started by axciom, 25 April 2012 - 08:25 AM
axciom #1
Posted 25 April 2012 - 10:25 AM
Ok im trying to make some type of sentry turret using a computer and a dispenser on top.
But i dont know how to make it loop from a specific line of code.
CastleMan2000 #2
Posted 26 April 2012 - 02:02 AM
usually

while true do
program code
end
is a pretty handy loop. try it.