coroutine.create

From ComputerCraft Wiki
Revision as of 12:17, 4 December 2012 by Thesbros (Talk | contribs)

Jump to: navigation, search


Grid Redstone.png  Function coroutine.create
Creates a new coroutine
Syntax coroutine.create(function function)
Returns coroutine new coroutine
Part of ComputerCraft
API Coroutine

Examples

Grid paper.png  Example
creates a coroutine.
Code
coroutine.create(function() print("Hello World") end)