问题
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
回答1:
save
creates a Lisp file, not a Maxima file. Give the file a name which ends with .lisp
and load it via load
.
来源:https://stackoverflow.com/questions/21778476/syntax-error-in-maxima-load-and-batch