Difference between revisions of "Coroutine.yield"
From ComputerCraft Wiki
MathManiac0 (Talk | contribs) (Added Page) |
m (Moved to CAT:LuaCoreFunctions) |
||
Line 11: | Line 11: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:Lua_Core_Functions]] |
Revision as of 18:46, 28 November 2012
Function coroutine.yield | |
Pauses a coroutine. | |
Syntax | coroutine.yield(coroutine, var1, var2, ...) |
Returns | nil |
Part of | ComputerCraft |
API | Coroutine |
Examples
Example | |
Pauses the coroutine d. | |
Code |
coroutine.yield(d) |