values


Name:
values - Return array of values in a dictionary
Synopsis:
 
dict values -> array
<> values -> [val1 ... valn]

Examples:
 
<< /a 1 /b 2>> values -> [1 2]

Description:
 
"values" converts the values in a given dictionary to an array.
The order of elements is the same as for the "keys" command.

Parameters:
 
dict is a dictionary which may be empty

Diagnostics:
 
no errors are issued.

Remarks:
 
The commands "keys" and "values" return the same order of
elements, when applied to the same dictionary. Apart from that,
there is no particular order of elements in the returned array.

Author:
Ruediger Kupper  

First Version: 27-jun-2008

SeeAlso: Source:
/home/graber/work-nest/nest-git/nest-simulator/sli/slidict.cc