[squeak-dev] List of all global variables? (Environments?)

Jakob Reschke jakob.reschke at student.hpi.de
Mon Apr 3 18:01:11 UTC 2017


Am 03.04.2017 19:12 schrieb "H. Hirzel" <hannes.hirzel at gmail.com>:



    (Smalltalk globals select: [:k | ((Smalltalk at: k) isKindOf: Class)
not])
       collect:  [:k | k -> (Smalltalk at: k) class]

Then I get 'key not found: ExtendedNumberParser'.


Cannot verify this atm but I think k is the class (value), not the symbol
(key), and at: wants a key. Like a Dictionary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170403/60849362/attachment.html>


More information about the Squeak-dev mailing list