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

Nilling Coroutine.yield()?

Started by The Blue daNoob, 02 December 2012 - 02:53 AM
The Blue daNoob #1
Posted 02 December 2012 - 03:53 AM
I've heard that CC 1.4 comes with protection against doing coroutine.yield = nil. However, does it actually come with this protection?
Sammich Lord #2
Posted 02 December 2012 - 04:05 AM
Cloudy is adding the protection in the next update(From what I heard.) He said only retards will modify the C-Level functions.
Cloudy #3
Posted 02 December 2012 - 04:58 AM
I haven't added any protection.
Sammich Lord #4
Posted 02 December 2012 - 05:02 AM
I haven't added any protection.
I meant to say "adding". I was tired and stoned when I made the post. And if I recall a conversation from IRC you said you were going to add protection.
Lyqyd #5
Posted 02 December 2012 - 05:39 AM
Out of curiosity, why on earth would you want to set coroutine.yield to nil?
Doyle3694 #6
Posted 02 December 2012 - 05:52 AM
top level virus? xD
ChunLing #7
Posted 02 December 2012 - 05:54 AM
The point is that people don't want to but sometimes are trying to set it equal to something they haven't assigned a value to yet so it ends up as nil.

Cloudy has a point about that kind of taking a complete lack of mental coherence.