Append To Map

The Append To Map command adds an item to a variable object. The object must be an associative array. If the specified variable does not exist, then it will be created.

Variable Name
Specify the name of the variable that is an associative array or that you want to create. You can specify the name of the hash array in an existing object.

1mymap
2options.params
3mymap[0].settings.sub

Key
Specify the key to which the value will be assigned.

Value
Specify the value to be added. It can be multiline. By default, an object with this string will be added to the associative array. Also, you can specify the name of another object. The script checks if an object with the specified name exists, in which case that object will be added to the hash array.

Substitute Variable Values
The values of this parameter are described in the Set Variable command.

Online Demo
Downloads Documentation Scripts Support Pro Version
English
Русский