hi,

generally if you compile source-code you will get a more or less descriptive 
error you can handle:

[ myClass compile: 'foo;' ] on: Error do: [ :err| "handle the error" self halt 
].


most of the time you will get a SyntaxErrorNotification.

best
cami

 
On 2012-03-17, at 13:08, Milan Mimica wrote:

> Hello,
> 
> i want to add some scripting capabilities to my app, and I wand to use plain 
> smalltalk for that. The only problem is that I still haven't found a way to 
> generate a compiled which would return a string describing a problem in case 
> a syntax errors. Can I get some help?
> 
> 
> -- 
> Milan Mimica


Reply via email to