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

Looping Programs?

Started by king224, 30 June 2014 - 02:05 AM
king224 #1
Posted 30 June 2014 - 04:05 AM
So I've recently written a simple program for a felling turtle to,well, cut down a Spruce Tree, I have gotten everything working up to this point. i need the turtle to forever (until terminated) repeat this program that I've simply named "spruce". I'm tried "while true do spruce end" (without quotations and in lua,of course) but it just hasn't worked. Craft OS 1.5 help only please.
Bomb Bloke #2
Posted 30 June 2014 - 04:39 AM
Instead of the word "spruce", try sticking the rest of your script into that "while" loop.