os.getComputerLabel
From ComputerCraft Wiki
Revision as of 07:39, 30 May 2012 by Pinkishu (Talk | contribs) (moved Os.getComputerLabel() to Os.getComputerLabel)
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
Example | |
prints the Computer Label | |
Code |
term.write(os.getComputerLabel()) |