batch files ???



You will have to tell us what front end you are using,
and EXACTLY what errors you receive.
I am using xmaxima, and have no problems.

you should probably use the form  

batch("c:/session.mac");

since the \  seems to not work.


also, as I said in other mail, use %th()  to refer
to previous expressions by position rather than label name.

RJF


Peter Ulrich Kruppa wrote:

>On Sun, 9 Nov 2003, Richard Fateman wrote:
>
>  
>
>>your batch files should not refer to the line numbers this way.
>>If you only refer to the previous line by %, then you are safer.
>>or use explicit assignment e.g.   part1: 5+3;
>>
>>
>>
>>try putting in a file called c:\session1.bat
>>
>>writefile("c:\session1.output");
>>5+3;
>>%-3;
>>%*2;
>>closefile();
>>    
>>
>This was, what I thought should be done. But with
>  
>
>>load("c:\session.bat")  ;
>>batch("c:\session.bat");
>>    
>>
>I receive errors. Maxima doesn't know what to do with the (c1),
>(d1),etc... prompts.
>
>Please also see David Billinhurst's mail.
>
>
>		+-------------------------+
>		|   Peter Ulrich Kruppa   |
>		|      - Wuppertal -      |
>		|         Germany         |
>		+-------------------------+
>  
>