RosettaCodeData/Task/Associative-array-Creation/Oz/associative-array-creation-1.oz

10 lines
122 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
declare
Dict = {Dictionary.new}
in
Dict.foo := 5
Dict.bar := 10
Dict.baz := 15
Dict.foo := 20
{Inspect Dict}