os.computerID
From ComputerCraft Wiki
Revision as of 07:39, 30 May 2012 by Pinkishu (Talk | contribs) (moved Os.computerID() to 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
| prints the Computer ID | |
| Code |
term.write(os.computerID()) |