Difference between revisions of "Disk.setLabel"

From ComputerCraft Wiki
Jump to: navigation, search
(Adding missing argument)
m (Moved to CAT:APIFunctions)
Line 11: Line 11:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 18:33, 28 November 2012


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

Examples

Grid paper.png  Example
Sets the label of the disk in the bottom drive to "Floppy"
Code
disk.setLabel("bottom", "Floppy")