| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| manual:Dictionaries [2021/05/31 08:00] – [Accessing Dictionary Values] ccstone | manual:Dictionaries [2021/10/04 07:24] (current) – [Accessing Dictionary Values] peternlewis |
|---|
| Use the [[action:Set_Dictionary_Value#See_Also|Set Dictionary Value]] action to set a dictionary value. | Use the [[action:Set_Dictionary_Value#See_Also|Set Dictionary Value]] action to set a dictionary value. |
| |
| | {{:manual:set_dictionary_key_example_01.png|}} |
| | |
| | {{:manual:set_dictionary_key_example_02.png|}} |
| | |
| | {{:manual:set_dictionary_key_example_03.png|}} |
| ===== Accessing Dictionary Values ===== | ===== Accessing Dictionary Values ===== |
| |
| |
| |
| ''%Dictionary[Shop Prices, Cake]%'' | ''%Dictionary[Shop Prices,Cake]%'' |
| |
| {{:manual:dictionary_02.png}} | {{:manual:dictionary_02.png}} |
| |
| ''%Dictionary[Shop Prices, %Variable%local_KeyName%]%'' | ''%Dictionary[Shop Prices,%Variable%local_KeyName%]%'' |
| |
| {{:manual:dictionary_03.png}} | {{:manual:dictionary_03.png}} |
| |
| ''%Dictionary[%Variable%local_DictName%, %Variable%local_KeyName%]%'' | ''%Dictionary[%Variable%local‗DictName%,%Variable%local‗KeyName%]%'' |
| |
| You can list the dictionaries with the [[collection:Dictionaries|Dictionaries]] collection, and you can list all the keys within a dictionary with the [[collection:Dictionary_Keys|Dictionary Keys]] collection. | You can list the dictionaries with the [[collection:Dictionaries|Dictionaries]] collection, and you can list all the keys within a dictionary with the [[collection:Dictionary_Keys|Dictionary Keys]] collection. |