Help - Glossary - A - Association

An Association is a pair of objects, of which the first the key and the second its value. Associations are normally used in dictionaries, as in

Example for Cmd-b

| dict |
dict := Dictionary new.
dict add: 1->10.
"Here 1->10 is the value->key association"
dict add: 'Flap'->'Doodle'. "Another value->key association"
dict inspect

Glossary - A