8 sizeof_list = elements list
10 $I0 = mod sizeof_list, 2
11 if $I0 == 1 goto odd_args
14 result = new 'TclDict'
20 if pos >= sizeof_list goto done
25 $I0 = isa $P2, 'String'
33 # Can we listify the value here? If so, make it into a dictionary.
36 if $I0 <= 1 goto only_string
51 die 'missing value to go with key'
59 list = $P0.'get_list'(str)
60 .return listToDict(list)
67 # vim: expandtab shiftwidth=4 ft=pir: