This is a read-only snapshot of
the ComputerCraft forums
, taken in April 2020.
ComputerCraft
→
Ask a Pro
Too long without yeilding
Started by Rangicus, 30 September 2012 - 06:36 PM
Rangicus
#1
76 posts
Location
Death City
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
8543 posts
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.