disk.getID
From ComputerCraft Wiki
Revision as of 18:33, 30 November 2012 by Lyqyd (Talk | contribs) (Int linking fix; awkward phrasing re-phrased.)
Function disk.getDiskID | |
No description provided. | |
Syntax | disk.getDiskID(string side) |
Returns | int disk ID |
Part of | ComputerCraft |
API | disk |
Examples
Example | |
Prints the ID of the disk. | |
Code |
print(disk.getDiskID("bottom")) |
Output | The ID of the disk (side varies). |