swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifying a pointer to an event


From: donalson
Subject: Re: Identifying a pointer to an event
Date: Wed, 27 Sep 2000 20:31:42 -0700

sizeEvent.eventId=[sizeEvent.subSchedId at: sizeEvent.subSchedTime
createActionTo:  self message: M(atMaxSize1 )];

----- Original Message -----
From: Marcus G. Daniels <address@hidden>
To: <address@hidden>
Sent: Wednesday, September 27, 2000 6:42 PM
Subject: Re: Identifying a pointer to an event


> >>>>> "D4" == donalson  <address@hidden> writes:
>
> D4> sizeEvent.eventId=[sizeEvent.subSchedId at: sizeEvent.subSchedTime
> D4> createActionTo: self message: M(atMaxSize1 )];
>
> D4> What I want to confirm is whether "id_ActionConcurrent_c" is or is
> D4> not the correct reference for an action created in a concurrent
> D4> schedule and if it is not, what term I should be using..
>
> If you call -at:createActionTo:message:, you'll get back an object
> that conforms to the ActionTo protocol. All this id_SoAndSo_c stuff is
> internal to Swarm and you shouldn't use it.

I have already done this, see my first post.

sizeEvent.eventId=[sizeEvent.subSchedId at: sizeEvent.subSchedTime
createActionTo:  self message: M(atMaxSize1 )];

Now, I have the "eventId" stored.  We have now advanced in time in the
program and I want to know whether the "eventId" is still valid or whether
it has already been executed and is therefore invalid.  When eventId's for
agents are executed they are supposed to be set to NULL, but one seems to be
getting by and I am trying to find where that happens.  I want to search my
agent list at each time step and see if and when a non-zero eventId is
invalid.  For that I would need a test that would look something like the
"if" statement I put in my first email.  Now, if that is not correct, no
problem, but could you then tell me what a correct test would be.
>                   ==================================
>    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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]