Difference between revisions of "Os.getComputerLabel"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
m (Updated references from "os" to "OS") |
||
| Line 3: | Line 3: | ||
|name=os.getComputerLabel | |name=os.getComputerLabel | ||
|returns=the label of the Computer | |returns=the label of the Computer | ||
| − | |api= | + | |api=OS |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=returns the label of the computer this command is executed on. | |desc=returns the label of the computer this command is executed on. | ||
Revision as of 14:08, 30 November 2012
| 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()) |