Difference between revisions of "Turtle.select"
From ComputerCraft Wiki
(Undo revision 1829 by 37.59.80.67 (talk)) |
Zalerinian (Talk | contribs) m (Added a reference picture for slot numbers) |
||
Line 13: | Line 13: | ||
|output=true | |output=true | ||
}} | }} | ||
+ | |||
+ | A picture reference[http://i.imgur.com/1BNQH.png] | ||
}} | }} |
Revision as of 21:34, 25 June 2012
Function turtle.select | |
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
Example | |
Selects the specified slot | |
Code |
print(turtle.select(5)) |
Output | true |
A picture reference[1]