> From: Peter Ulrich Kruppa
> Subject: batch files ???
>
>
> I don't understand the part in the documentation about batch
> files. What I am actually looking for is this:
> 1) I type a file, let's call it session.bat containing lines like
> these:
> (c1) 5 + 3;
> (c2) c1 - 3;
> (c3) c2*2;
>
> ...
Create a file session.ma containing the following
a:5+3;
b:a-3;
c:b*2;
then within maxima
batch("session.mac");
and continue working
(C1) batch("session.mac");
batching /usr/people/billingd/session.mac
(C2) a : 3 + 5
(D2) 8
(C3) b : a - 3
(D3) 5
(C4) c : b 2
(D4) 10
(C5) c+3;
(D5) 13