Re: Lookup table

jon klein <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Jan 30, 2004, at 3:07 PM, Will Davis wrote:

> Just wondering if anybody has implemented a lookup table in breve? I'm
> trying to simulate stigmergy-like behaviour based on the configuration 
> of
> the neighbours of each agent, and the best way to check the 
> configurations
> would be against a lookup table. Also, it's a shame that arrays cannot 
> be
> passed as arguments to methods as this would provide a suitable method 
> for
> this.

You can use a list instead of an array in this case.  Lists allow you to
access specific elements by number (like arrays) but can also be passed 
as
arguments to methods.

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.