Subject: RESTORE function -- what's it supposed to do??
From: Robert Dodier
Date: Sat, 6 Nov 2004 18:47:40 -0800 (PST)
Fellow Maximists,
The available documentation for RESTORE says:
- Function: RESTORE (file-specification)
reinitializes all quantities filed away by a use of the SAVE or
STORE functions, in a prior MACSYMA session, from the file given
by file-specification without bringing them into core.
Huh?? I would assume LOAD supersedes RESTORE, but I can't
be sure, since I can't tell what RESTORE is supposed to do.
There is code for RESTORE at the very end of dskfn.lisp.
RESTORE ("foo.bar")$ does something, although I can't tell what.
Whatever it does, it always barfs out an error message,
"READ: input stream has reached its end". An attempt to reference
a variable that was saved in "foo.bar" yields "Error:
the variable DEFAULTF is unbound."
I'm guessing the bottom line is that RESTORE is hopelessly
archaic. I'll cut out the description, maybe someone else
wants to cut out the source code too.
regards,
Robert Dodier
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com