[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: archivers
From: |
Sven N. Thommesen |
Subject: |
Re: archivers |
Date: |
Mon, 29 Jan 2001 16:06:59 -0600 |
At 02:23 PM 1/29/01, you wrote:
>>>>> "ST" == Sven N Thommesen <address@hidden> writes:
ST> is it possible to use the lispArchiver to have e.g. the modelSwarm
ST> read in parameters *for itself* from a named file, i.e. w/o the
ST> create-a-new-object step?
[lispAppArchiver getWithZone: self key: "modelSwarm"] will create and
load a ready-to-use object as specified by the MAKE-INSTANCE
expression associated with the 'modelSwarm key in the application's
.scm file. If you want to have a ModelSwarm with ad-hoc control over
loading subcomponents, you can add a class that holds its parameters
and then, somewhere in a ModelSwarm method, ask for a key having a
(make-instance 'Parameter [etc]) value.
Yes, I see how that would work.
I guess what I had in mind was to not have the 'make-instance' bit in the
.scm file, so that the Archiver would just plug the values provided in the
named .scm file into the corresponding ivars in a specified, *existing*
object. Possible?
-s
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- archivers, Sven N. Thommesen, 2001/01/29
- Re: archivers, Marcus G. Daniels, 2001/01/29
- Re: archivers,
Sven N. Thommesen <=