[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
new loadfns featre
- To: KAPLAN
- Subject: new loadfns featre
- From: TEITELMAN
- Date: Wed, 12 Dec 1979 22:46:33 -8000
- Date: 12 DEC 1979 2246-PST
- Cc: lisp
if VARS is a list and (FNTYP VARS ) is true, i.e. VARS is
a lambda expresson, then instead of clling the editor to
match the paatern, loadfns will invoke that function (aplying
it to two arguments, the first and second elements in
the expression being considered, but you can ignore the argument
if you want).
if
(a) the result returned is NIL, loadfns will restore the file pointer
and do a skread - i.e. you are free to do whatever you want to
with file pointer
(b) resule returned is non-nil but atom, e.g. T, loadfns
will reset file pointer, do a READ, and use that as
the expressin (and then either add it to donelst, evaluate
it etc depending on value of LDFLG)
(c) a list - the result is used as the expression. the file pinter
in this case is not reset.
warren
-------