coroutine.create
From ComputerCraft Wiki
Revision as of 18:46, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:LuaCoreFunctions)
Function coroutine.create | |
Creates a new coroutine | |
Syntax | coroutine.create(function function) |
Returns | coroutine new coroutine |
Part of | ComputerCraft |
API | Coroutine |
Examples
Example | |
creates a coroutine. | |
Code |
coroutine.create(function() print("Hello World") end) |