remvalue, was: Strange plot2d behaviour



>
> A Maxima trivia item -- function arguments don't appear on the
> values list, but local variables in block do appear.
> e.g. block([aa, bb, cc], print(values)) => prints out [aa, bb, cc].

This appears to not quite correct. Modifying the example again.

//(%i1) g(s):=block([],print(values),s)$//

[s,s__]
(%o2)                          2

But!!!
                                 
(%i3)  plot2d(g,[s,1,2]);
[s__]
[s__]
[s__]
[s__]
[s__]
...
Now s has disappeared from the value list....

Michel