os.getComputerLabel

Returns a string representing the computer's label.

ExampleGet the Computer Label
Retrieves and prints the Computer's Label.
Code
print(os.getComputerLabel())
Output
The computer's label, or nil if none has been set.

os.getComputerLabel
Function
Syntax
os.getComputerLabel()
Returns string label
API os
Source CC:Tweaked (source)
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.