XenoGuard Documentation


Actions » Programming » Dictionary

With Dictionary, you can perform actions to create a collection of text items using key-value pairs.
  • Create: Create a dictionary in either the local or global context
  • Add: Add a key-value pair
  • Get: Get the value by key
  • Get At Index: Get the index position key
  • Contains: Check whether a key is contained in the dictionary
  • Count: Get the count of all key-value pairs
  • Iterate: Iterate the key-value pairs
  • Remove: Remove the first entry with a matching key
  • Remove At: Remove the dictionary key at the specified position
  • Clear: Remove all key-value pairs

The use of the Dictionary actions requires that the key of an entry is always unique. Accessing individual elements via the key is much faster for larger data sets than index-based lists that are searched for elements.

See related Action groups:

Flow Control
Action Script
Parameter List
Number Operation
String Operation