get_d

Command: get_d


Synopsis
dict /key get_d -> any

File
sli/slidict.cc
Parameters

dict - a dictionary
/key - a literal name

Diagnostics

UndefinedNameError

Author

Marc-Oliver Gewaltig

Description

get_d tries to find /key in the supplied dictionary. If it
is present the associated value is returned. If /key is
not in the dictionary an UndefinedNameError is raised

Examples


systemdict /PI get_d -> 3.1415...
<> /a get -> 1

SeeAlso