Pierre R. Mai [mailto:[EMAIL PROTECTED]] wrote
>The trick involves creating a lisp source file that embeds the to be saved >data as a literal via #., and then compiling this file via compile-file. >Prerequisite is the existance of make-load-form methods for all contained >data, as per usual for externalization of literal data. Thanks for the example. This is so clever that i'm not shure that i got it. What i think is: (write-line "(setq *my-data* #.*my-data*)" stream) is read by the compiler and due to the '#.' the second *my-data* is replaced by the value of *mydata* in the environment before the compiler dumps out the form. That's why a make-load-form method must exist for all contained data (so compiler knows how to dump it). Is this right ? Sincerly AHz
