how can I make a thing that can be run?

Kendall Shaw queshaw at pacbell.net
Thu Feb 16 23:31:09 UTC 2006


Corneanu Dan wrote:
> Hmmm, I'm not sure I get your question right but I think you're doing a
> confusion.

The part about the Project class looks like it is an answer to the 
question I was trying to ask. An application would be a serialized 
Project. So, for example, Hello world would be a project displaying 
hello world, opened in a world.

Kendall

> You can save any project to a file using WorldMenu->Projects->save
> project on local file only.
> The resulting file is not like a c++ or Java program you can compile and
> execute or read it.
> It is the serialized representation of the Project instance you are saving.
> If you want to see what happens when you save/load a project then take a
> look to
> Project>>exportSegmentFileName: aFileName directory: aDirectory
> ProjectLoading Class>>openFromDirectory: aDirectory andFileName: aFileName
> 
> All the classes loaded by a project are also objects associated with the
> project instance (take a look to change sets).
> So they were also serialized like normal objects when you have saved the
> project.
> Take a look to http://minnow.cc.gatech.edu/squeak/1817
> 
> I hope this helps.
> 
> 




More information about the Squeak-dev mailing list