How to find things
Last updated at 4:16 pm UTC on 14 January 2006
Like most OO languages, Squeak avoids globals but it does have them and these are often a usefull way to find things. Global dictionaries–Smalltalk being the prime example are particularly useful. Here is one example:
Doug Way July 03, 2004 Was just checking the Undeclared dictionary Doing
Undeclared removeUnreferencedKeys; inspect
shows one undeclared variable... I searched for the reference to this by brute force/'method source with it', is there an easier way?
Lex Spoon: There is a menu item in the resulting inspector called something like "references". This will find all the code that accesses the undeclared variable.