[Maxima] Difference between "batch" and command line input
sangwinc at for.mat.bham.ac.uk
Thu Jan 22 04:05:32 CST 2009
Dear Maxima list,
Could someone help me understand the following difference in behaviour?
[Maxima 5.17.0 through wxMaxima 0.8.0 on Windows]
I create a file on Maxima's path, e.g. "test.mac", with the following
a1 : 1;
a2 : ev(-20,simp);
In a clean Maxima session I execute this file with "batch"
The last output is [1-20] as expected.
Now, at the command line I type in
The output is now [1+-20] which is different.
I don't understand this difference.
Also, how should I avoid an ugly "1+-20" expression, but without
performing the subtraction?
More information about the Maxima