On Mon, Nov 28, 2016 at 3:43 PM Thierry Goubier <thierry.goubier@gmail.com> wrote:

if the code is passed as eval it works fine. I assume here is because ! is used to define metadata inside a st file.��

Yes, I'd guess that you are triggering the !! delimited reading when you give a .st. In short, giving a .st file as an argument triggers a FileIn operation, not an execute smalltalk script.

It just happens that FileIn is an executable format (sort of), so you can use it as a script engine until you reach such issues.

Thierry

yeap�� and I found the solution a second ! escapes the first one :)

so this strings creates an error 'Hello World!'
but this one works fine 'Hello World!!' and prints
Hello World!

so that problem solved too :)