[Q] Compiler evaluate: question

Derek Brans brans at nerdonawire.com
Wed May 21 17:40:35 UTC 2003


How about the usual error handling:

[x := Compiler evaluate: 'blah blah'] ifError: [do something else]


Derek Brans
Nerd on a Wire
Web design that's anything but square
http://www.nerdonawire.com
phone: 604.874.6463
mailto: brans at nerdonawire.com

----- Original Message -----
From: "Vladimir Janousek" <janousek at fit.vutbr.cz>
To: "The general-purpose Squeak developers list"
<squeak-dev at lists.squeakfoundation.org>
Sent: Wednesday, May 21, 2003 10:32 AM
Subject: [Q] Compiler evaluate: question


> Hello Squeakers,
>
> I'd like to know some good way how to handle syntax error quietly in
>
>     x := Compiler evaluate: 'blah blah'.
>
> Unfortunately it seems that it does not raise any kind of exception.
>
> Thanks in advance,
>
> Vladimir
>
>
>
>
>
>




More information about the Squeak-dev mailing list