Difference between revisions of "Coroutine.resume"
From ComputerCraft Wiki
MathManiac0 (Talk | contribs) (Added Page) |
m (Moved to CAT:LuaCoreFunctions) |
||
| Line 12: | Line 12: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:Lua_Core_Functions]] | ||
Revision as of 18:46, 28 November 2012
| Runs a coroutine. | |
| Syntax | coroutine.resume(coroutine, var1, var2, ...) |
| Returns | nil |
| Part of | ComputerCraft |
| API | Coroutine |
Examples
| Creates and Runs a coroutine. | |
| Code |
local co = coroutine.create(print) |
| Output | Hello World! |