disk.setLabel

From ComputerCraft Wiki
Revision as of 12:00, 26 February 2012 by Scarfacial (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=disk.setLabel |args=string side |api=disk |addon=ComputerCraft |examples= {{Example |desc=Sets the label of the disk in the bottom drive to ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function disk.setLabel
No description provided.
Syntax disk.setLabel(string side)
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")