Label

From ComputerCraft Wiki
Jump to: navigation, search
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.


Grid paper.png  Example
Set the label of the computer to "Foo"
Code
label set foo



Grid paper.png  Example
Clears the label on the computer
Code
label clear



Grid paper.png  Example
Gets the label on the computer
Code
label get
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox