Name
dict_get , dict_contains_key , dict_bitor_or_put , dict_get_or_set_sequence_next , dict_key_hash , dict_key_eq — Returns the dependent part that corresponds to the given key in the given dictionary.
Synopsis
any dict_get(
|
in dict dictionary, |
| in key any, | |
in default_value any); |
Description
The function returns the dependent part that corresponds to the
given key in the given dictionary. The function returns
default_value if the dictionary does not
contain a pair whose key is equivalent to the given one. When only
two arguments are passed to the function the default value is
integer zero.
Parameters
dict
Dictionary object to search in.
key
Key whose dependent part should be found.
default_value
The default value to be returned if the key is not found in the dictionary.
Return Types
The function can return a value of any type.