disk.setLabel

From ComputerCraft Wiki
Revision as of 14:32, 16 March 2012 by Foone (Talk | contribs) (Adding missing argument)

Jump to: navigation, search


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")