Harry Kanda wrote:
>This is an odd request but.. does anyone know how to do the following.
>
>
>i want to be in Command Line (cmd.exe not maxima) and type the following in:
>
>maxima someFunction(expression)
>and then whilst still in cmd.exe get the output!
>
>Anyone know if this is possible, if it's been implemented or if i'm
>just being sillly!
>
>Harry
>
>_______________________________________________
>Maxima mailing list
>Maxima@www.math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
>
I am working in windows so this is how I do it.
I have a rmaxima.bat file with the following in it
type inmax.mac | C:\"Program Files"\Maxima-5.9.1\bin\maxima.bat >
maxout.txt
This takes the file called inmax.mac pipes it to the built in file
from maxima called maxima.bat
and puts the results out to maxout.txt
The way I use this is to edit inmax.mac so that it has all the
commands you want to execute.
then run rmaxima
then look in the file maxout.txt for the answers
This is my way of running Maxima from inside Octave :-)
Doug Stewart