turtle.select
From ComputerCraft Wiki
Revision as of 13:45, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Corrected mapping from "Boolean" to "Boolean (type)")
Function turtle.select | |
Attempts to select the specified slot. | |
Syntax | turtle.select(int slotNumber (1-16 in ComputerCraft 1.4+, otherwise 1-6)) |
Returns | boolean whether the slot number specified is greater than nine or not. |
Part of | ComputerCraft |
API | turtle |
Examples
Example | |
Selects the specified slot | |
Code |
print(turtle.select(5)) |
Output | true |