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

10 lines
122 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
declare
Dict = {Dictionary.new}
in
Dict.foo := 5
Dict.bar := 10
Dict.baz := 15
Dict.foo := 20
{Inspect Dict}