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

Too long without yeilding

Started by Rangicus, 30 September 2012 - 06:36 PM
Rangicus #1
Posted 30 September 2012 - 08:36 PM
Is there any way to make it so in programs too long without yeilding doesnt appear like in while true do programs?
Lyqyd #2
Posted 30 September 2012 - 08:37 PM
You could use a sleep(0) inside the loop to make it yield for as short a time as possible.