disk.eject

From ComputerCraft Wiki
Revision as of 19:12, 22 April 2013 by Hawk777 (Talk | contribs) (Use type template)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function disk.eject
Ejects any item currently in the drive, spilling it into the world as a loose item.
Syntax disk.eject(string side)
Returns nil
Part of ComputerCraft
API disk

Examples

Grid paper.png  Example
Ejects the disk in the bottom drive
Code
disk.eject("bottom")