Tile - Array - Length – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Image:Editor-VS_tile-array_get_lenght.png]]
[[Image:{{PAGENAME}}.png]]
*Returns '''length''' (number of values) of an '''array'''
*Returns '''length''' (number of values) of an '''array'''
*Allows to set array length -> array will be either trimmed or filled with empty cells.


=Notes=
=Notes=
*Index numbers always start from 0, e.g: Array of [[Ylands Tile - Array length|length]] 3 has indexes 0, 1, 2
*Index numbers always start from 0, e.g: Array of [[Ylands Tile - Array length|length]] 3 has indexes 0, 1, 2





Revision as of 14:04, 13 June 2019

File:Tile - Array - Length.png

  • Returns length (number of values) of an array
  • Allows to set array length -> array will be either trimmed or filled with empty cells.

Notes

  • Index numbers always start from 0, e.g: Array of length 3 has indexes 0, 1, 2



Template:Ylands scripting navbox