Difference between revisions of "Os.getComputerLabel"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=os.getComputerLabel |returns=the label of the Computer |api=os |addon=ComputerCraft |desc=returns the label of the computer this command is exec...")
 
(No difference)

Revision as of 07:39, 30 May 2012


Grid Redstone.png  Function os.getComputerLabel
returns the label of the computer this command is executed on.
Syntax os.getComputerLabel()
Returns the label of the Computer
Part of ComputerCraft
API os

Examples

Grid paper.png  Example
prints the Computer Label
Code
term.write(os.getComputerLabel())