Ugrás a fő tartalomhoz
Verzió: 16

ARRAY_ADD

Adds an item to an array.

Description

Adds an item to an array with the specified value to the first available index number. If the array was not defined previously, then this command will create the array, and then add the item as the first entry (index = 0).

Syntax

ARRAY_ADD [Array name] [Item value]

Command parameters

Command parameterAssignmentValue formatInput options
Array nameRequiredStringLocal, variable
Item valueRequiredString, integer, floatLocal, variable

Array name:

Name of the array.

Item value:

Value of the item.

Sample code

ARRAY_ADD Data 1234