On Tue, 9 Sep 2008, Martin DeMello wrote:
> Shoes.app :height => 400, :width => 400 do
> big = 9 ** 99
> line(0, 0, 0, big) rescue nil
> end
>
> Problems:
>
> 1. The rescue statement doesn't work. Shoes logs an exception to the console
> 2. The line number is uninformative
> 3. There's no way to get a full stacktrace
Interesting. I get the same on Windows vista. Also changing it to
#!shoes
Shoes.app :height => 400, :width => 400 do
big = 9 ** 99
begin
line(0, 0, 0, big)
rescue => e
alert e
end
end
doesn't help. The error console complains that the number is too big
to fit in a long.
Hugh
>
> martin
>