os.setComputerLabel

From ComputerCraft Wiki
Revision as of 14:08, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Updated references from "os" to "OS")

Jump to: navigation, search


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")