disk.getLabel
From ComputerCraft Wiki
Revision as of 12:10, 26 February 2012 by Scarfacial (Talk | contribs) (Note to self: Stop editing the wiki when you start getting tired.)
| No description provided. | |
| Syntax | disk.getLabel(string side) |
| Returns | string disk label |
| Part of | ComputerCraft |
| API | disk |
Examples
| Checks for data saved on the disk in the bottom drive | |
| Code |
print(disk.getLabel("bottom"))
|
| Output | Floppy --Output changes according to the disk label |