El 5/23/08 10:00 PM, "Rob Rothwell" <[EMAIL PROTECTED]> escribió:

> I *think* if you open a file list with the World Menu->open->file list and
> browse to your SAR file, an "install" button will appear in the file list.
> 
> Just press the button, and hopefully everything will work!
> 
> Rob


And you could drag and drop into any Squeak 3.8 and newer.
A menu like this shows.

The .sar files is like smart install, you could control different actions
for different squeaks, made your dream about which packages and which
versions, add complementary files like .jpg,.gif,.png or .wav, you named.

You could find small ones and big and complex ones and trust me its the only
way you become your own Master and survive the raising number of Squeak
versions.

If the .sar have "preamble", all this code is executed first.
Then all code files ,st .cs, .mcz, etc, was loaded in order (if in preamble
you don't have some different.
And if you have a "postscript", this code is executed last.


Here you have a puzzle.
http://wiki.squeak.org/squeak/5861

I have variants in the preamble like this

| misFotos listaArchivos member form str |
Smalltalk version  = 'SqueakLight' ifTrue:[ self fileInMemberNamed:
'MixedCurves.2.cs'.
    self fileInMemberNamed: 'MinimalSound.2.cs'].

self fileInMemberNamed: 'Morphic-Puzzle.47.cs'.

member _ self memberNamed: 'CatClubBallooning.jpg'.
PuzzleMorph foto: (Form fromBinaryStream: member contentStream binary).
member _ self memberNamed: 'Taunt011.wav'.
PuzzleMorph sonido: (member contentStream binary).
PuzzleMorph allPieces


So I develop in my own develop image, with all my tools and then made a .sar
and could run into my SqueakLight of 3.7 mb, close and give a RTS (Run Time
System) if I don't wish client knows is made in Squeak.

Off course , you could do any serious and not only fun...


Attachment: Picture 2.png
Description: Binary data

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to