guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: persistence


From: Thien-Thi Nguyen
Subject: Re: persistence
Date: Sat, 09 Feb 2002 00:49:54 -0800

   From: "Jan Marecek" <address@hidden>
   Date: Sat, 9 Feb 2002 16:57:28 -0800

       is it possible to save the state of the scripting
   environment to a file so it can be restored?

if you mean environment variables (like "HOME"), you can use:

(write (environ) (open-output-file FILE))

if you have globals you need more complicated packaging, of course.
i expect you could re-use source for "saving" procedure definitions. ;->

thi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]