Coroutine.yield

From ComputerCraft Wiki
Revision as of 17:19, 13 November 2012 by MathManiac0 (Talk | contribs) (Added Page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Grid Redstone.png  Function coroutine.yield
Pauses a coroutine.
Syntax coroutine.yield(coroutine, var1, var2, ...)
Returns nil
Part of ComputerCraft
API Coroutine

Examples

Grid paper.png  Example
Pauses the coroutine d.
Code
coroutine.yield(d)