[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CreateBegin with no createEnd in swarm examples ( was Re: Error in Maki
From: |
Paul Johnson |
Subject: |
CreateBegin with no createEnd in swarm examples ( was Re: Error in Making a List in a new object. |
Date: |
Tue, 03 Aug 1999 15:58:02 -0500 |
Andrew Boyd wrote:
>
> The only way I can see how you'd get that error would be if
> somehow your ModelSwarm was still in creating phase, e.g.
>
> obj = [CellModelSwarm createBegin: globalZone];
>
> instead of:
>
> obj = [CellModelSwarm create: globalZone];
>
> In your ModelSwarm, has -createEnd been called before you call
> -createCompList?
Hey, this reminded me. In all swarmapps, there is createBegin without a
create end for the obj. Look in Heatbugs, for example. Its
createBegin has this statement:
obj = [super createBegin: aZone];
but there is never
obj = [obj createEnd];
What's up with that? Is obj getting its createEnd indirectly through
the modelSwarm's createEnd?
This has been a curiosity to me for a long time and I'm eager to know
the answer.
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
==================================
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.