Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Adds a new entry to the associative array, associating the supplied object with the supplied key string. Only one object may be associated with a key, so any existing object linked to that key is discarded. This method is always case-sensitive when creating keys, whereas object-literal syntax (e.g. aa={bright:"Sign"}) is case-insensitive when creating keys unless SetModeCaseSensitive() is called.

Lookup(key As String) As Dynamic

Looks up the specified key and returns the associated object. If there is no object associated with the key string, then this method will return Invalid.

Tip
titleTip

In most many cases, the Dot Operator can be used as shorthand for the Lookup() and AddReplace() methods when working with associative arrays.

...

Makes all subsequent actions case sensitive. All lookups and created keys are (with the exception of the AddReplace() method) are case insensitive by default.

...