Difference between revisions of "Disk.getID"
From ComputerCraft Wiki
MathManiac0 (Talk | contribs) (Created Page) |
m (Moved to CAT:APIFunctions) |
||
| Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | |||
| + | [[Category:API_Functions]] | ||
Revision as of 18:32, 28 November 2012
| No description provided. | |
| Syntax | disk.getDiskID(string side) |
| Returns | int the ID of the disk |
| Part of | ComputerCraft |
| API | disk |
Examples
| Prints the ID of the disk. | |
| Code |
print(disk.getDiskID("bottom"))
|
| Output | The ID of the disk (side varies). |