swarm-support
[Top][All Lists]
Advanced

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

Re: FCallImpl


From: Paul E Johnson
Subject: Re: FCallImpl
Date: Wed, 03 Jan 2001 00:13:01 -0600

Fred Wan wrote:


> Hi, I have narrowed the problem down to just the creation of the actions for
> the bugs. 
>         modelActions = new ActionGroupImpl(getZone());
> 
>         try{
> //        SimpleBug proto = (SimpleBug) bugList.getFirst();
>         SimpleBug proto = new SimpleBug(Globals.env.globalZone,
> foodSpace,bugSpace, 1, 1, 999);
> 
>         sel = new Selector(proto.getClass(), "randomWalk", false);
>         modelActions.createFActionForEachHomogeneous$call
>                 (bugList,
>                  new FCallImpl(this, proto, sel,
>                    new FArgumentsImpl(this,sel,true)));
>         } catch (Exception e)
>         {
>         System.err.println("Exception randomWalk: " +
>         e.getMessage ());
>         }
>
In Swarm after version 2.1.1, there was a change in the interface to
FArgumentsImpl. I suppose it could be part of your trouble?  If you have
new dll's, the syntax should be:

  new FCallImpl (this, proto, sel,
                        new FArgumentsImpl (this, sel)));

-- 
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.



reply via email to

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