Dictionaries
The puzzles from this category allow you to effectively store, transfer and retrieve various data. Particularly, a dictionary is useful for storing multiple parameters and for passing them in bulk from and to JavaScript and over network.

Contents
Puzzles Reference
create empty dict
Returns a dictionary containing no data records.

In JavaScript, a dictionary is represented by an Object without any properties, that is { }.
create dict with
Returns a dictionary with given keys and values.

Keys/values can be lists:

or multi-line texts, where each line represents a key or value:

dict set key
Sets the item to be associated with a specified key in a dictionary. The key must be a text, while the assigned value may be of any type (text, number, list, other dictionary, etc).

dict get key
Returns the item associated with a specified key in a dictionary.

get keys
Returns a list of all keys present in a dictionary.

dict check key
Checks if a specified key is present in a dictionary, and returns the Boolean-typed result true or false.

dict remove key
Removes the item associated with a specified key in a dictionary, and deletes the key itself.

is empty
Checks if a specified dictionary contains no keys, and returns the Boolean-typed result true or false.

See Also
Dictionaries store elements by names. If you need an ordered storage with indexed elements, refer to lists.
Having Troubles with Puzzles?
Seek help on the forums!