| Name: | keys - Return array of keys in a dictionary
|
| Synopsis: |
dict keys -> array
<> keys -> [/key1 ... /keyn]
|
| Description: |
"keys" converts the keys in a given dictionary to an array.
The order of elements is the same as for the "values" command.
|
| Parameters: |
dict is a dictionary which may be empty
|
| Examples: |
<< /a 1 /b 2>> keys -> [/a /b]
|
| 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: | keys values <<>> cva cvdict |
|
| Source: | /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slidict.cc
|