How to port VW "Signal" to Squeak

Alejandro Martínez alemartinez2112 at gmail.com
Wed Feb 21 15:17:58 UTC 2007


2007/2/21, Andreas Raab <andreas.raab at gmx.de>:
>
> 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


Thanks, that's right, what I'm looking for is the appropiate class
equivalent (SomeExceptionClass) in Squeak.


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
> >
> >
> > ------------------------------------------------------------------------
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070221/cd3327d1/attachment.htm


More information about the Squeak-dev mailing list