[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clarification on the effect of "DROP" on subobjects.
From: |
Steve Jackson |
Subject: |
Re: Clarification on the effect of "DROP" on subobjects. |
Date: |
Mon, 30 Oct 2000 08:56:19 -0800 |
If create a char* or int* etc, the drop message to your zone will not
deallocate
the memory, you still must do that.
Paul E Johnson wrote:
> "Marcus G. Daniels" wrote:
> >
>
> >
> > If you want a simple object for an agent, then it is not hard to
> > allocate a Zone for agent components, e.g.
> >
> > objZone = [Zone create: [self getZone]]
> > [component create: obZone]
> >
>
> Just being sure, but if this a SwarmObject (not Swarm) , then it would
> still need
>
> -(void)drop
> {
> [objZone drop];
> [super drop];
> }
>
> If I'm right, I like this idea and think we should preach it to all the
> faithful.
>
> --
> 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.
==================================
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.