swarm-support
[Top][All Lists]
Advanced

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

Re: Argument passing in Schedule


From: cgl
Subject: Re: Argument passing in Schedule
Date: Mon, 10 Feb 1997 10:24:02 -0700

>> How and where did you activate the scratch schedule?  Did you activateIn
>> on the modelSwarm (self) or the modelSwarm's activity?

>-activateIn: (id) swarmContext {
>   [super activateIn: swarmContext];
>   [modelSchedule activateIn: self];
>   [modelScratchSchedule activateIn: self];
>   return getActivity;
>}


Minor point - that last line should read 

    return [self getActivity];

This is only important if you later make use of that returned
value for activity....however, if the modelSchedule is working
and the modelScratchSchedule is not, this ain't the problem....

C




reply via email to

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