disk.getID

From ComputerCraft Wiki
Revision as of 16:47, 13 November 2012 by MathManiac0 (Talk | contribs) (Created Page)

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


Grid Redstone.png  Function disk.getDiskID
No description provided.
Syntax disk.getDiskID(string side)
Returns int the ID of the disk
Part of ComputerCraft
API disk

Examples

Grid paper.png  Example
Prints the ID of the disk.
Code
print(disk.getDiskID("bottom"))
Output The ID of the disk (side varies).