Tile - Array - Length – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Array length to Ylands:Tile - Array - Length: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Length == | |||
=Notes= | [[File:YlandsTile-191-get.png]] | ||
*Index numbers always start from 0, e.g: Array of | |||
[[File:YlandsTile-191-set.png]] | |||
<pre>get length(): number; | |||
set length(value: number);</pre> | |||
=== Description === | |||
Returns '''length''' (count of values) of an '''array'''. Allows to set array length; array will be either trimmed or extended with empty cells. | |||
=== Notes === | |||
* Index numbers always start from 0, e.g: Array of '''length''' 3 has indexes 0, 1 and 2. | |||
Line 12: | Line 24: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:53, 8 July 2021
Length
get length(): number; set length(value: number);
Description
Returns length (count of values) of an array. Allows to set array length; array will be either trimmed or extended with empty cells.
Notes
- Index numbers always start from 0, e.g: Array of length 3 has indexes 0, 1 and 2.