disk.getLabel
From ComputerCraft Wiki
Revision as of 12:05, 26 February 2012 by Scarfacial (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=disk.getLabel |args=string side |api=disk |returns=bool disk label |addon=ComputerCraft |examples= {{Example |desc=Checks ...")
| No description provided. | |
| Syntax | disk.getLabel(string side) |
| Returns | bool 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 |