Hi Herbert, <br><br>Thanks a lot for your reply! You have addressed all my concerns. <br><br>Erlis<br><br><div class="gmail_quote">2011/4/19 Herbert König <span dir="ltr">&lt;<a href="mailto:herbertkoenig@gmx.net">herbertkoenig@gmx.net</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Erlis,<br>
<br>
EV&gt; I have a some questions about program execution:<br>
<br>
Not knowing your platform my reply is a bit unspecific, I can be more<br>
specific on Windows.<br>
<br>
EV&gt; If I have a text file with some smalltalk code, is it possible to execute<br>
EV&gt; that code from the outside of the VM graphical interface?<br>
<br>
If you specify a .st file in the command line to Squeak, it will be<br>
executed. If you end the script with<br>
<br>
SmalltalkImage current snapshot: false andQuit: true<br>
<br>
Squeak will close after execution. In a recent image it may be<br>
Smalltalk instead of SmalltalkImage current. I have no 4.2 handy.<br>
<br>
EV&gt; I&#39;m looking a java like execution. Java as smalltalk use a VM to execute the<br>
EV&gt; code, but the way java execute the program, some people don&#39;t even know<br>
EV&gt; this. Due to the nature of smalltalk I don&#39;t know if what I&#39;m asking is<br>
EV&gt; possible.<br>
<br>
Googling Squeak headless will help you to make squeak run without any<br>
visible UI. Assuming this was your question :-)<br>
<br>
EV&gt; -- these are other questions I have ---<br>
<br>
One mail each topic helps that people with little time see that a<br>
question is still unanswered.<br>
<br>
EV&gt; How are applications deployed in smalltalk?<br>
<br>
Again only a rough sketch:<br>
<br>
Smalltalk addToStartupList: MyClass will run<br>
MyClass class side startUp: on startup.<br>
<br>
At minimum you should disable the preferences to warn if no changes<br>
file and to warn if no sources file. You can completely disable the<br>
programmers facilities of Squeak, but then you can&#39;t debug into a<br>
faulty image.<br>
<br>
Use any installer builder (NSIS seems to be preferred by Windows<br>
Squeakers, I used Inno Setup), to unzip your folder and create a<br>
desktop or menu shortcut.<br>
<br>
You can search Squeak dev or Squeak beginners on deploy, it&#39;s a FAQ.<br>
<br>
EV&gt; Once I have the image I can see how things are implemented. How do you do<br>
EV&gt; hide implementation that probably don&#39;t want other to see?<br>
<br>
Disable Programmer facilities as described before. See my post here on<br>
Jan 1st 2011 on &quot;image not locking down&quot; for details.<br>
<br>
In theory you can debug any image file from another running image,<br>
don&#39;t know if the tools readily exist. But then for dotNet assemblies<br>
these tools seem to exist.<br>
<br>
<br>
--<br>
Cheers,<br>
<br>
Herbert<br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote></div><br>