[Newbies] How to introspect method instance variables

Randal L. Schwartz merlyn at stonehenge.com
Tue Aug 25 22:54:52 UTC 2009


>>>>> "rdmerrio" == rdmerrio  <rdmerrio at gmail.com> writes:

rdmerrio> The question around the instance variables stems from the fact that
rdmerrio> they appear to be tantalizingly close to the surface given the fact
rdmerrio> that the Browser recognizes undeclared identifiers and asks if they
rdmerrio> are temps or instance and then plugs in the code for me.

Not the browser, the compiler.  And the compiler knows all the identifiers in
scope, or it couldn't compile the code.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


More information about the Beginners mailing list