Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uw-beaver Path: utzoo!watmath!clyde!cbosgd!ulysses!mhuxr!mhuxb!mhuxn!mhuxm!mhuxj!houxm!vax135!cornell!uw-beaver!info-mac From: info-mac@uw-beaver Newsgroups: fa.info-mac Subject: Re: version 1.4 of XLISP Message-ID: <771@uw-beaver> Date: Wed, 6-Feb-85 04:42:10 EST Article-I.D.: uw-beave.771 Posted: Wed Feb 6 04:42:10 1985 Date-Received: Thu, 7-Feb-85 03:54:01 EST Sender: daemon@uw-beaver Organization: U of Washington Computer Science Lines: 14 From: cornell!packard!harvard!betz@uw-beaver.arpa I'm working on a Mac version of XLISP that uses the Mac environment. Until then it is possible to save function definitions by writing them into a file. The definition of a function is stored as a lambda expression as the value of the function name symbol. All you need to do is open a file with 'openo' and 'print' the value of the symbol into the file and then close the file. When you want to load the function, just 'openi' the file, read the expression and ' 'setq' the symbol name to that value. Obviously, you would want to write some XLISP functions to do this for you. Just place the definitions of those functions in your 'init.lsp' file. David Betz