[Newbies] Is there a way to find examples of how a certain method
is used?
Edward Stow
ed.stow at gmail.com
Sat Jul 8 01:47:26 UTC 2006
Murhpy,
Perhaps you could describe what you want to achieve. The most common
idiom for adding to a dictionary is #at:put:
dict := Dictionary new.
dict at: <<key>> put: <<value>>.
<<key>> can be any object and not be restricted to strings or symbols
as is common in many other languages
On 08/07/06, Murphy Stein <murphy at wonderlab.com> wrote:
> Hi All,
>
> I am trying to find some good examples of how the Dictionary class is
> used, particularly basic stuff like examples of how add: works. The
> sender button in the SystemBrowser calls up about a million examples
> of add: , but I don't see a way to filter by a specific class. Is
> there a built-in way to do this?
>
> Thanks,
> Murphy
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
--
Edward Stow
More information about the Beginners
mailing list