Difference between revisions of "Computer.getID"
From ComputerCraft Wiki
TheVarmari (Talk | contribs) (Added function page) |
TheVarmari (Talk | contribs) m (Changed int to number) |
||
Line 2: | Line 2: | ||
|name=computer.getID | |name=computer.getID | ||
|api=peripheral | |api=peripheral | ||
− | |returns=[[ | + | |returns=[[number (type)|number]] ID |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Returns the ID of a computer or turtle wrapped to the "computer" variable | |desc=Returns the ID of a computer or turtle wrapped to the "computer" variable |
Revision as of 02:55, 12 May 2013
Function computer.getID | |
Returns the ID of a computer or turtle wrapped to the "computer" variable | |
Syntax | computer.getID() |
Returns | number ID |
Part of | ComputerCraft |
API | peripheral |