Difference between revisions of "Os.computerID"
From ComputerCraft Wiki
(Created the Page) |
|||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=os.computerID() | |name=os.computerID() | ||
− | |||
|returns=the ID of the Computer | |returns=the ID of the Computer | ||
|api=os | |api=os |
Revision as of 16:33, 24 March 2012
Function os.computerID() | |
returns the ID of the computer this command is executed on. | |
Syntax | os.computerID()() |
Returns | the ID of the Computer |
Part of | ComputerCraft |
API | os |
Examples
Example | |
prints the Computer ID | |
Code |
term.write(os.computerID()) |