Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

File_search_lisp

-- Option variable: file_search_lisp -- Option variable: file_search_demo These variables specify lists of directories to be searched by load, demo, and some other Maxima functions. The default values of these variables name various directories in the Maxima installation.

The user can modify these variables, either to replace the default values or to append additional directories. For example,

file_search_maxima: ["/usr/local/foo/###.mac", "/usr/local/bar/###.mac"]$

replaces the default value of file_search_maxima, while

file_search_maxima: append (file_search_maxima, ["/usr/local/foo/###.mac", "/usr/local/bar/###.mac"])$

appends two additional directories. It may be convenient to put such an expression in the file maxima-init.mac so that the file search path is assigned automatically when Maxima starts.

Multiple filename extensions and multiple paths can be specified by special "wildcard" constructions. The string ### expands into the sought-after name, while a comma-separated list enclosed in curly braces {foo,bar,baz} expands into multiple strings. For example, supposing the sought-after name is neumann,

"/home/{wfs,gcj}/###.{lisp,mac}"

expands into /home/wfs/neumann.lisp, /home/gcj/neumann.lisp, /home/wfs/neumann.mac, and /home/gcj/neumann.mac.

(%o1)                                true
(%i2) 

Related Examples

file_search_lisp

? file_search_lisp;

Calculate

file_search_lisp

? file_search_lisp;

Calculate