disk.getLabel
From ComputerCraft Wiki
Revision as of 17:26, 4 July 2012 by 209.216.183.205 (Talk) (Undo revision 1951 by 91.121.27.33 (talk))
| 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 |