Hi,

I don't understand what's wrong with this one:

st> dict := Dictionary new
Dictionary (
)
st> assoc := Association key: #key1 value: 'value1'
#key1->'value1'
st> dict add: assoc
#key1->'value1'
st> dict
Dictionary (
        #key1->'value1'
)
st> assoc key: #key2 value: 'value2'
#key2->'value2'
st> dict
Dictionary (
        #key2->'value2'
)
st> dict add: assoc
#key2->'value2'
st> dict
Dictionary (
        #key2->'value2'
        #key2->'value2'
)

best regards



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to