Difference between revisions of "Os.setComputerLabel"

From ComputerCraft Wiki
Jump to: navigation, search
(No difference)

Revision as of 07:41, 30 May 2012


Grid Redstone.png  Function os.setComputerLabel
Set the label of the computer this command is executed on to label.
Syntax os.setComputerLabel(string label)
Returns Unknown
Part of ComputerCraft
API os

Examples

Grid paper.png  Example
set the Computer label to "My Computer"
Code
os.setComputerLabel("My Computer")