array :dict-keys ( dict $DICT )
Takes a dictionary and returns an array containing all the keys present in the dictionary. Keys are sorted ASCII-wise.
Order of elements is the same as in :dict-values
- keys match values at the indexes.
# Dictionary example. :set &D :dict s'one' s'eins' s'two' s'zwei' s'three' s'drei' :set &D[s'four'] s'vier' :set &K :dict-keys &D :set &V :dict-values &V :set &C i0 !while :lt $C :dict-count &D :writeln $K[$C] s' == ' $V[$C] :add &C i1 !done
wikipage modified on 2014/0601/2317