turtle.select
From ComputerCraft Wiki
| Attempts to select the specified slot. | |
| Syntax | turtle.select(int slotNumber) |
| 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(5)) |
| Output | true |
A picture reference[1]