XenoGuard 4.0 Documentation

Dictionary

ActionStep Reference » Programming » Dictionary

With Dictionary, you can perform ActionSteps 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 also other groups:

Flow Control
Action Script
Execution
Identifier
Parameter List
General
Number Operation
String Operation
Time
List