Create a dictionary Version 7 (Java)
Action group: Collections
Description
Creates a new empty dictionary instance
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Results | ||||
Dictionary | The variable to which the created dictionary will be written | Robin.Dictionary |
Special conditions of use
If an existing dictionary is fed into the result, it will be cleared.
Example of use
Task
Create a new dictionary and add there the value "Moscow" with the key "1".
Solution
Use the "Create a dictionary", "Add pair" action.
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters of the "Add pair" action.
- Launch the robot using the "Start" button in the top panel.
Result
A new dictionary was created and the value "Moscow" was successfully added there.
Обзор
Инструменты контента