Article View: comp.lang.clos
Article #662PCL-Object-Request
From: Jon L White
Date: Wed, 26 Jun 1991 03:14
Date: Wed, 26 Jun 1991 03:14
19 lines
1452 bytes
1452 bytes
re: I created with the function 'make-instance' my own instances for classes
I have written. They are named i.e. #<object10000000>.
Be careful! these printed out representations are proably NOT names
(i.e., by names, you mean a symbolic "handle" from which you can
subsequently retrieve the object). As I recall, PCL just prints out
the actual address of the unnamed object; and of course due to the
action of GC, these addresses will change with time.
For saving objects out to files (on "harddisc"?), I would recommend
the CLOS function MAKE-LOAD-FORM (see CLtL2 page 659 and following).
Neither PCL, nor Sun Common Lisp version 4.0, contains this function,
as it was added rather late in the ANSI standardization process.
[However, experimental versions of Lucid's post-4.0 releases contain it.
Lucid is the supplier of Sun Common Lisp, but I could not at all predict
when Sun might be making the next release with this functionality in it.]
-- JonL --
Technical Details
Message-ID:
<9106260314.AA11652@kuwait>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lucid.com!jonl%kuwaitReferences:
<3567@laura.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lucid.com!jonl%kuwait From: jonl%kuwait@lucid.com (Jon L White) Subject: PCL-Object-Request Message-ID: <9106260314.AA11652@kuwait> Sender: daemon@cis.ohio-state.edu Organization: The Ohio State University Department of Computer and Information Science References: <3567@laura.UUCP> Date: Wed, 26 Jun 1991 03:14:44 GMT Lines: 19