os.setComputerLabel

From ComputerCraft
Jump to: navigation, search

os.setComputerLabel
Function
Syntax
os.setComputerLabel()
Returns nil
API os
Source CC:Tweaked (source)

Sets the computer's label to the passed string or to nothing if nil or an empty string was passed.

ExampleExampleSet the Computer's Label
Sets the computer's label to the user's input.
Code
os.setComputerLabel(read())
Output
none