Skip to end of metadata
Go to start of metadata

An associative array (also known as a map, dictionary or hash table) allows objects to be associated with string keys. Associative arrays are built into the language. They can be accessed implicitly by using the dot or bracket operators, or by calling functions from the ifAssociativeArray interface. For example, the last three lines in this example are equivalent:

Supported Interfaces


This object is created with no parameters:

  • CreateObject("roAssociativeArray")

It can also be created implicitly by using an Associative Array literal.

Starting from firmware 8, the quoted keys in Associative Array literals are now case-preserving. This change improves the readability of your code and is compatible with JSON usage.

  • No labels