os.getComputerLabel
From ComputerCraft Wiki
Revision as of 18:49, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:LuaCoreFunctions)
| 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
| prints the Computer Label | |
| Code |
term.write(os.getComputerLabel()) |