Global dictionaries are proving to be hugely useful to me. However, it would be useful if the globaldictionaryvalue(
function could take an optional third parameter giving a default value to be returned if the supplied key does not exist in the dictionary, just like the optional fifth parameter for lookup(
.
It’s possible to get round this by trapping the ‘globaldictionaryvalue( value does not exist’ error, but in some situations it would be more elegant (and maybe quicker?) if a default value could be used and the error thereby avoided.