Difference between revisions of "Disk.setLabel"

From ComputerCraft Wiki
Jump to: navigation, search
(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 ...")
 
Line 2: Line 2:
 
{{Function
 
{{Function
 
|name=disk.setLabel
 
|name=disk.setLabel
|args=[[string]] side
+
|args=[[string (type)|string]] side
 
|api=disk
 
|api=disk
 
|addon=ComputerCraft
 
|addon=ComputerCraft

Revision as of 12:13, 26 February 2012


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