Tile - Array - Set – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
||
Line 14: | Line 14: | ||
---- | ---- | ||
{{Ylands | {{Ylands editor navbox}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
[[Category: Ylands 0.10]] | [[Category: Ylands 0.10]] |
Revision as of 04:33, 26 December 2020
- Returns a value at given position in the array
- Index - index of target cell in the array
- Set a value to given position in the array
- Index - index of target cell in the array
- Value - value to be set at index cell
Notes
- Values in all cells of one array does not have to be of same type (i.e string, vector, number)
- Index numbers always start from 0, e.g: Array of length 3 has indexes 0, 1, 2