Difference between revisions of "Disk.eject"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
(Add description) |
||
Line 5: | Line 5: | ||
|api=disk | |api=disk | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
+ | |desc=Ejects any item currently in the drive, spilling it into the world as a loose item. | ||
|examples= | |examples= | ||
{{Example | {{Example |
Revision as of 18:50, 21 April 2013
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
Example | |
Ejects the disk in the bottom drive | |
Code |
disk.eject("bottom") |