reserved words?

Brian Keefer mgomes21 at cox.net
Mon Nov 4 05:13:57 UTC 2002


Michael Vanier wrote:
> 
> self, super, nil, true, and false come to mind.  I'm not sure if they are
> technically reserved.  They are called "pseudovariables" in ST jargon.
> "true" and "false" are also pseudovariables, but they are singleton
> instances of class True and False respectively.  Similarly, nil is the
> singleton instance of class UndefinedObject.  So that just leaves self and
> super ;-)
> 

thisContext is the other magical reserved word. Looking quickly at its
users (higlight it in a text window, and yellow click "more.../Method
source with it"), it makes exceptions, debuggers, and other clever
mechanisms work.



More information about the Squeak-dev mailing list