I saved a file using

save("/Users/iaingray/.maxima/temp.mac",[1,2]);

which is in my file_search_maxima; path

I then tried load(temp); and batch(temp); which both failed with

stdin:1:incorrect syntax: Premature termination of input at ;.

Maxima 5.30.0, imaxima(emacs) and wxMaxima, Mac OSX 10.9.1

Any suggestions? Iain

有帮助吗?

解决方案

save creates a Lisp file, not a Maxima file. Give the file a name which ends with .lisp and load it via load.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top