On 4/13/10 8:04 AM, Jaime Villate wrote:
> Hi,
> I have a favor to ask to all of you who are trying this new version.
> Please enter the following command:
> plot3d(sin(x)*sin(y), [x, 0, 2*%pi], [y, 0, 2*%pi]);
>
> then close the graphic window and repeat the same command, and report on
> your results, telling me your Lisp version used.
>
> I have just discovered that plot3d fails in Clisp. I had used SBCL and
> Clozure CL to test it and it works fine in those two. Currently I cannot
> try GCL (mission impossible to complile it in Ubuntu), ECL, CMUCL or
> other Lisp flavors.
>
Works ok in CMUCL, but I tried the cvs version, not the release. But
the cvs version with clisp causes an error.
I suspect the bug was caused in rev 1.148. In this change, xrange and
yrange were removed from the arg list of $plot3d, but xrange and yrange
are still referenced in the body of $plot3d. Lisp warns about these
undefined variables. There might be some other undefined variables; I
can't remember and I don't have the compile log around.
Ray