On Wed, 2007-10-31 at 20:23 -0700, Robert Dodier wrote:
> It's not how the function is defined, but how it is called.
>
> If gnuplot_color is called via FUNCALL in src/gnuplot.lisp,
> then a Maxima function definition gnuplot_color(c) := ...
> is ignored. But if it is called via MFUNCALL, then the
> Maxima function definition supersedes the existing definition.
Thanks, Robert.
What am I doing wrong here? Why mfuncall is not using the redefined
function?
(%i10) gnuplot_color(x):= [8,5,6][x]$
(%i11) gnuplot_color(1);
(%o11) 8
(%i12) :lisp (mfuncall '$gnuplot_color 1);
3
Regards,
Jaime