[squeak-dev] Namespaces, Packages: Image available for download,
screencast.
Igor Stasenko
siguctua at gmail.com
Sat Jul 26 07:51:17 UTC 2008
A small correction.
The following is unsafe, because #Universe can be already defined
within local environment:
Packages addPackage: #Universe ! " a "
Universe addNamespace: #Earth ! " b "
So, it should be done differently, like following:
!(Packages addPackage: #Universe) beDefaultScope!
.. here the subchunk with properly set scope.
!
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|