Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

Load-Library function

source files: xetc.[ch]

SYNTAX

(LOAD-LIBRARY <file>  [ :verbose <v-flag> ] [ :print <p-flag> ] ))
  <file>    - a string expression or symbol 
  <v-flag>  - an optional key-word expression - default is T
  <p-flag>  - an optional key-word expression - default is NIL

DESCRIPTION

Loads a lisp file. Differs from LOAD only in that it searches the sequence of directories specified in global variable *XLPATH*, which is a list of full pathnames defind by strings. On program startup *XLPATH*, is set to the environment variable XLPATH, which has the same format and semantics as PATH. However, *XLPATH* may be redefined at any time using a standard setq. If *XLPATH* is NIL, which will occur at startup if XLPATH is undefined, LOAD-LIBRARY is equivalent to LOAD.

Note that csh syntax such as ~/lisp, ~rms/lisp, $(HOME)/lisp etc are not (yet?) supported in XLPATH, which should consist solely of fully- specified absolute directory names separated by colons.


Go to the first, previous, next, last section, table of contents.