[self-interest] Re: Filing out Self code
Jecel Assumpcao Jr
jecel at merlintec.com
Fri May 14 02:06:12 UTC 2004
On Thursday 13 May 2004 06:23, German Morales wrote:
> I've managed to get the module saved, but the result was not what I
> expected: my code wasn't there. What is a module anyway? I've told
> Self to put the selectors in a module ("Set Module..."), but that
> didn't have effect. Am I doing something wrong?
When you select a module for the slots of an object, that module's name
should appear in the "changed modules list" (which you get from the
second item in the yellow background menu) with a "w" button beside it.
Pressing that button saves the changes.
Given the error you mentioned in your first email, I suppose you had
already discovered all this.
Are you sure that your code isn't there? It might be just one or two
lines in the middle of a lot of overhead.
> Anyway, I got what I needed: my sources in a file outside Self.
> Since I got all the code carefully typed in a Shell, I could (with
> some effort) get an "inspector" to the string there, and finally did
> a printOnFile:.
> Is there a "normal" way to save the contents of a Shell?
The way you found seems to be the most direct for now. If Self had
something like the file browser in Smalltalk you could copy text from
the shell directly to a file, but that doesn't exist yet.
More information about the Self-interest