« Return to Thread: Exception in barchart

Re: Exception in barchart

by Jan Wielemaker-3 :: Rate this Message:

Reply to Author | View in Thread

Christian,

On Thursday 25 June 2009 10:59:09 am Christian Schneiker wrote:

> Dietmar Seipel observed this some time ago. Obviously this should not
> make a change, but we noticed that it helps.
>
> >> is it possible to make some changes in barchart.pl as follows:
> >>
> >> Line 440ff
> >>
> >> get(T, width, W), get(T, height, H),
> >> send(I, hot_spot, point(W+5, H/2)),
> >> %send(I, hot_spot, point(T?width+5, T?height/2)),
> >
> > Except for errors, this is -as I think you know-, the same. Why is there
> > an error though. Or more specifically, why does get(T, height, H) fail?
>
> get(T, height, H) does not fail.
> send(I, hot_spot, point(T?width+5, T?height/2)) fails.

That is weird. I'd like to see a program to reproduce this. It might
point at some deeper trouble.

        Cheers --- Jan

_______________________________________________
SWI-Prolog mailing list
SWI-Prolog@...
https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog

 « Return to Thread: Exception in barchart