turtle.select
From ComputerCraft Wiki
Revision as of 05:19, 13 March 2012 by Uncreative Name (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=turtle.select |args= |api=turtle |returns=boolean whether the slot number specified is greater than nine or not. |addon=ComputerCraft |desc=...")
| Attempts to select the specified slot. | |
| Syntax | turtle.select() |
| Returns | boolean whether the slot number specified is greater than nine or not. |
| Part of | ComputerCraft |
| API | turtle |
Examples
| Selects the specified slot | |
| Code |
print(turtle.select()) |
| Output | true unless slot number specified is greater than nine |