batch files ??? in commercial macsyma



On Tue, 11 Nov 2003, Richard Fateman wrote:

> In the commercial macsyma there are
> commands to save a notebook as a batch file, and to
> move a batch file into an (unexecuted) notebook for
> later execution. This is probably solve the
> problem..
Actually we found a usable solution (at least for maxima on UNIX
systems).
One can load and reload sessions using
save("file",all); 	at the end of the session
linenum: 99;            set a linenumber higher than the last
			used in the saved session
loadfile("file");
playback();
Thus a saved session is completely restored and can be continued.

The problem in this procedure is a real bug:
save(...,all); 	appends a lot of "stuff" to the session, that
cannot be interpreted by maxima. If one deletes this useless
appendix from within a text editor, everything works fine.
Stavros Macrakis has submitted a bug report about this.

A second problem comes with xmaxima:
File --> Save expressions to file
does the same as
save(..., all);
even with the same bug, but there is no analogue in the menu for
loadfile(...);
File --> batch file
won't work because maxima's "batch" files use a different syntax
than the "save" files.

Uli.
>
> RJF
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>

		+-------------------------+
		|   Peter Ulrich Kruppa   |
		|      - Wuppertal -      |
		|         Germany         |
		+-------------------------+