disk.eject

From ComputerCraft Wiki
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")