set

From Bohemia Interactive Community
Revision as of 15:16, 19 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


back to COMREF

array set element


Operand types:

array: Array

element: Array

Type of returned value:

Nothing

Compatibility:

Added in version 1.75

Description:

Format of element is [index, value].

Changes an element of given array.

If element does not exist, resize index+1 is called to create it.


Example:

arrayOne set [0, "Hello"]