Difference between revisions of "Os.getComputerLabel"
From ComputerCraft Wiki
m (moved Os.getComputerLabel() to Os.getComputerLabel) |
m (Moved to CAT:LuaCoreFunctions) |
||
Line 12: | Line 12: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:Lua_Core_Functions]] |
Revision as of 18:49, 28 November 2012
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()) |