Difference between revisions of "Disk.getLabel"
From ComputerCraft Wiki
(Undo revision 1951 by 91.121.27.33 (talk)) |
m (Moved to CAT:APIFunctions) |
||
Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Revision as of 18:33, 28 November 2012
Function disk.getLabel | |
No description provided. | |
Syntax | disk.getLabel(string side) |
Returns | string disk label |
Part of | ComputerCraft |
API | disk |
Examples
Example | |
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 |