swarm-support
[Top][All Lists]
Advanced

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

newbish question


From: bleydorf
Subject: newbish question
Date: Wed, 03 Dec 1997 14:39:05 -0500

Hi,
Can agents access each other with casting?

Heres what I want to do:
I have two types of agents, "owners" and "to-be-owned".
The "to-be-owned" agents are only 8 in number, and have a defined type
called TypeType which is just integers from 1 to 8.  There is only one
of each agent.  I want to be able to pass a int to the owner agent, and
then be able to have the owner access the "to-be-owned" variables
(etc)...

It seems like this would be pretty straightforward, but I can't seem to
figure it out...[frown].

(background info), I am using graph library stuff, and the owner agents
will "point" to each "to-be-owned" agent (which it owns).  Multiple
owners can own each "to-be-owned" agents. 

Thanks,
Brad.

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