[Modules] [Q] How to deal with stray-modules?

Bergel Alexandre bergel at iam.unibe.ch
Sat May 11 17:41:18 UTC 2002


Hello Daniel,

If you printIt that : 
-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)
Module fromPath: #(Temporary Foo Bar) forceCreate: true. t := Module @ #(Temporary Foo Bar). ModuleInstaller unload: (Module @ #(Temporary Foo)). t path
-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)

You will get something like : #('stray-Module' 'bad parent, #2968')

You get a such path for a module when a module is not longer referenced in its parent module. All the classes defined in unloaded modules, become Obsolete.

> How do I get my class back?

Perhaps you can try to access your class by doing : 
(Module @ #(Your Module Freshly Loaded)) at: #YourClass

> PS - I petition to move "save and quit" apart from "quit". Who's with
> me?

:-) !!!!!!!!!!

Like for emacs C-x C-c for quitting, and C-x C-v for pasting a buffer.

Regards,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._
Bergel Alexandre  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^



More information about the Squeak-dev mailing list