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

Pausing the shell?

Started by Zudo, 28 June 2013 - 12:48 AM
Zudo #1
Posted 28 June 2013 - 02:48 AM
I am making a program which has multiple "workspaces" in which you should be able to run different programs at the same time. How would you go about pausing the shell so what I do does NOT pull an event in other workspaces?

I am a complete NOOB at coroutines. :)/>
M4sh3dP0t4t03 #2
Posted 28 June 2013 - 02:51 AM
Then you should get better at coroutines. I don't know how this would be possible without a little bit of knowledge about coroutines.
Zudo #3
Posted 28 June 2013 - 03:02 AM
Then you should get better at coroutines. I don't know how this would be possible without a little bit of knowledge about coroutines.

Ok, I'll try that :)/>
Lyqyd #4
Posted 28 June 2013 - 11:24 AM
Yeah, KingofNoobs is correct. The whole "pausing" approach/thought process is misguided. Knowledge and use of coroutines will point toward the correct solution.