Keywords
Michael Rueger
m.rueger at acm.org
Fri May 4 00:22:51 UTC 2001
Scott Wallace wrote:
> You may also find that this exercise provides the start of an answer
> to your question about a "list of keywords".
Oh, and btw, Squeak has no predefined keywords ;-)
> On a blank line of a workspace, type "random" (without the quotation
> marks) and then hit alt-shift-W (cmd-shift-W). This is a shortcut
> for the text-editor menu-command "selectors containing it", and will
> give you a message list browser showing all the methods in the system
> that have the word 'random' in their names.
All "keywords" are messages implemented by some class, even things like
ifTrue:
that's why the above method described by Scott works as it does.
Another way to look for messages is to look at a class that may
implement what you need. So if you are looking for random access to a
collection of objects have a look at class collection etc.
Michael
More information about the Squeak-dev
mailing list
|