Action group: Collections
The action replaces the value in the list by index.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
List | List for processing. | Robin.Collection | Yes | |
Index | Index in the list | Robin.Numeric | Yes | |
Value | The value, that will be added in the list by the specified index | Robin.Object | Yes |
None.
There is a variable "Collection 1" with the values:
Replace the value of "China" with "Spain". Output the result in the dialog box.
Use the actions "Set value by index", "Get value by index" and "Show message".
The value "Spain" is displayed in the dialog box. The replacement of the value at index "0" was successful.