How to port VW "Signal" to Squeak
Andreas Raab
andreas.raab at gmx.de
Wed Feb 21 07:35:09 UTC 2007
Use Squeak exception classes. I don't remember this exactly (it has been
more than ten years since I used it) but it went somewhat along the
lines that "Object informationSignal" would answer the exception class
(Signal in VW?), #newSignal would create an instance and #raise would
raise the signal. Translated to Squeak that means roughly:
VW: (Object informationSignal) newSignal raise
Squeak: (SomeExceptionClass) new signal
Someone please correct me if I remember this wrongly.
Cheers,
- Andreas
Alejandro Martínez wrote:
> Hello. I'm trying to figure out how to port a #newSignal message send
> from a VisualWorks application (something like Object informationSignal
> newSignal) to Squeak, which lacks of Signal class. Does anybody know how
> to do it or have a guideline for this?
> Thanks
>
> Alejandro
>
>
> ------------------------------------------------------------------------
>
>
More information about the Squeak-dev
mailing list
|