Dictionary set index
This section is available only in EnglishThis block is used to add new or modify existing keys in the existing dictionary. Required dictionary name is defined in the left part, name of the key is defined in the middle part and new value of the key is defined in the right part.
XML representation of dictionaries_set_index block
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="dictionaries_set_index">
<mutation at="true"/>
<value name="VALUE">
<block type="variables_get">
<field name="VAR">dictionary</field>
</block>
</value>
<value name="AT">
<block type="text">
<field name="TEXT">key</field>
</block>
</value>
<value name="TO">
<block type="text">
<field name="TEXT">value</field>
</block>
</value>
</block>
</xml>

Block “Dictionary set index”

Example of “Dictionary set index” block
Block “Dictionary set index” is used on the row “in dictionary item set” in the example:
- New key “user” is created in the “item” dictionary with value of the “user” variable (ie. administrator).
Login permitted from 192.168.10.1/1234 to inside:192.168.1.1/https for user admin

Results of “Dictionary set index” block