[Newbies] Is there a way to find examples of how a certain method is used?

Yoshiki Ohshima yoshiki at squeakland.org
Sat Jul 8 01:01:13 UTC 2006


> 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?

  Have you tried 'class refs (N)' menu item in the context menu of
class pane (the second from left)?

  Many occurence of the Dictionary class reference seem to create new
instance of it and assign it to an instance variable.  You can then
try the 'inst var refs...' menu item to see how the variable is used.

-- Yoshiki

More information about the Beginners mailing list