Previous: Hardcopy Up: Helpful Hints to MAXIMA Programmers Next: Using MAXIMA for Typesetting

Saving Computational Results for a Later Session

Many times one would like to save the MAXIMA intermediate results for later use. This can easily be done by the SAVE(filename, things); command. The things can be names of variables, functions or arrays. Thus one can do SAVE("my.compu", x,y,mat); for example. MAXIMA keeps account on your computation. The variable functions is a list of names of functions defined by you. The variable values is a list of variables that still hold values that you have assigned. Similarly, arrays and labels.

An easy way to save many things is to give the SAVE command these key words. Thus


SAVE(filename, functions);
will cause all functions to be saved. Better yet,

SAVE(filename, ALL);
will save everything. Refer to the manual on the SAVE command.

farrell@mcs.kent.edu