swarm-support
[Top][All Lists]
Advanced

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

RE: FCallImpl


From: Fred Wan
Subject: RE: FCallImpl
Date: Wed, 3 Jan 2001 13:26:08 +0100

No, that isn't it. In the version I have, there is no constructor for
FArgumentsImpl with just two arguments.

Thanks anyway.

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Paul E Johnson
Sent: Wednesday, January 03, 2001 7:13 AM
To: address@hidden
Subject: Re: FCallImpl


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.


                  ==================================
   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]