Tile - Array - Index Of – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}") |
||
Line 9: | Line 9: | ||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
[[Category: Ylands 0.10]] | [[Category: Ylands 0.10]] |
Revision as of 10:01, 30 December 2020
- Returns position (index) of the specified object
- If the item is present more than once, instruction returns the position of the first occurrence.
- Returns -1 if the object is not found.
Notes
- Index numbers always start from 0, e.g: Array of length 3 has indexes 0, 1, 2