[Newbies] Re: error trap

Klaus D. Witzel klaus.witzel at cobss.com
Wed Aug 9 18:31:51 UTC 2006


On Wed, 09 Aug 2006 19:59:41 +0200, Brian Murphy-Dye wrote:
> Ron, another crazy possibility comes to mind when reading your
> excellent description: making each line it's own block.
>
> {[10/0].
>   [2 raisedToInteger: 1/2].
>   [-5 raisedTo: 1.5]
> } do: [:each | [each value] on: Exception do: [:ex | Transcript show:
> ex; cr]].

Excellent, Brian. Why do you still write in the beginners list ;-)
...
Ah, now I can see why: Transcript endEntry is missing from the above :)  
</joke>

/Klaus

> Brian.



More information about the Beginners mailing list