disk.setLabel

From ComputerCraft
Jump to navigation Jump to search

disk.setLabel
Function
Syntax
disk.setLabel()
Returns number ID
API disk
Source CC:Tweaked (source)

Set the Label of a Disk.

ExampleExampleSet disk label
Sets the label of the disk inserted in the disk drive on the top to "Disk123".
Code
disk.setLabel("Disk123"))