Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: Function: load (<filename>) Evaluates expressions in <filename>, thus bringing variables, functions, and other objects into Maxima. The binding of any existing object is clobbered by the binding recovered from <filename>. To find the file, `load` calls `file_search` with `file_search_maxima` and `file_search_lisp` as the search directories. If `load` succeeds, it returns the name of the file. Otherwise `load` prints an error message. `load` works equally well for Lisp code and Maxima code. Files created by `save`, `translate_file`, and `compile_file`, which create Lisp code, and `stringout`, which creates Maxima code, can all be processed by `load`. `load` calls `loadfile` to load Lisp files and `batchload` to load Maxima files.

`load` does not recognize `:lisp` constructs in Maxima files, and while processing <filename>, the global variables `_`, `__`, `%`, and `%th` have whatever bindings they had when `load` was called.

See also `loadfile`, `batch`, `batchload`, and `demo`. `loadfile` processes Lisp files; `batch`, `batchload`, and `demo` process Maxima files.

See `file_search` for more detail about the file search mechanism.

`load` evaluates its argument.

There are also some inexact matches for `load`. Try `?? load` to see them.

```(%o1)                                true
(%i2) ```

### Related Examples

zf:x+y;

u1:x>=0;

Calculate

obj:5*x1+2*x2;

cnst:[5*x1+2*x2>=...

Calculate

f1(x):=x^2+cos*xxplot...

Calculate

obj:3*x1+x2-4*x3;

cnst:[-3*x1-x3<=-1...

Calculate

p=4;

q=2;

Calculate

M : matrix ([1, 2], [...

N : matrix ([-1,3], [...

Calculate S:create_graph ([1,2,...

draw_graph (S, show_i...

Calculate

a:[2,3,6];

b:[6,1,8];

Calculate

poly_s_polinomial(x**...

Calculate  