disk.getLabel

From ComputerCraft Wiki
Revision as of 18:33, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:APIFunctions)

Jump to: navigation, search


Grid Redstone.png  Function disk.getLabel
No description provided.
Syntax disk.getLabel(string side)
Returns string disk label
Part of ComputerCraft
API disk

Examples

Grid paper.png  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