peripheral.wrap
From ComputerCraft Wiki
Revision as of 17:24, 10 April 2014 by MKlegoman357 (Talk | contribs)
| Returns a table containing functions pointing to the peripheral's methods, which can then be called as if using peripheral.call(side, method). If no peripheral is found at the specified side, returns nil instead. | |
| Syntax | peripheral.wrap(string side) |
| Returns | table handle with all functions a peripheral has |
| Part of | ComputerCraft |
| API | peripheral |