Difference between revisions of "Os.getComputerID"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
|||
Line 12: | Line 12: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:Lua_Core_Functions]] |
Revision as of 18:49, 28 November 2012
Function os.getComputerID | |
returns the ID of the computer this command is executed on. | |
Syntax | os.getComputerID() |
Returns | the ID of the Computer |
Part of | ComputerCraft |
API | os |
Examples
Example | |
prints the Computer ID | |
Code |
print(os.getComputerID()) |