Lisp HUG Maillist Archive

Binary File

Hello Everybody,

I'd like to write an object into a file.
Let's say an object of class:

(defclass myclass ()
    ((my-slot :accessor my-slot)))

(setf myobj (make-instance 'myclass))

(setf (my-slot myobj) "some string")

I want to write the object myobj to a file, so that afterwards I can
read the file and retrieve the object and the value of my-slot.

any idea?

thanks,

Miro Casanova



Re: Binary File

Unable to parse email body. Email id is 884

Updated at: 2020-12-10 09:00 UTC