Label
From ComputerCraft Wiki
This page is a stub. Please help us by expanding it.
|
Label is a built in program for computers and turtles that will create a label for the computer, which will result in the label being assigned to the ID of the computer.
This prevents loss of programs in the event of destruction of the computer or turtle, with the added benefit of allowing turtles to retain fuel between being broken.
You can either set or clear the label on any computer or turtle.
Example | |
Set the label of the computer to "Foo" | |
Code |
label set foo |
Example | |
Clears the label on the computer | |
Code |
label clear |
Example | |
Gets the label on the computer | |
Code |
label get |