os.setComputerLabel

From ComputerCraft Wiki
Revision as of 15:19, 1 May 2012 by Aurel2108 (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=os.setComputerLabel |returns=Unknown |api=os |addon=ComputerCraft |desc=set the label of the computer this command is executed on. |examples= {{...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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

Examples

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