[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need help/examples with enumerated lists
From: |
Paul E. Johnson |
Subject: |
Need help/examples with enumerated lists |
Date: |
Thu, 16 Jul 1998 13:30:06 -0500 (CDT) |
I've been using regular lists, but now I have a need to use one
of the alternatives, such as set or indexed. The docs don't have enough
information for me to understand which I need and how to make use of
them. Perhaps I can explain.
I've got Recruiter agents that go around making offers, and when
an offer is accepted, a Citizen agent executes a method that puts its
name on the memberList of that Recruiter. Each Recruiter generates
a list of citizens to contact each time period, but that list may
contain some of the names of the people who are already in memberList.
If I want to remove from the contactList all people who are already
in memberList, what do I do?
Or, what if I want to make sure that all people in memberList are also
in contactList every time, so the Recruiter touches base with new
prospects and each of the existing members every time.
Each citizen has a variable "idNumber" that can be used to differentiate
them. I just don't understand how to put it together. The swarm examples
in swarmapps, did you ever notice, make no use of indexes for lists, much
less complicated ones.
If you have example code using these fancier lists, I'd be grateful.
I'm going to keep looking around in anarchy too.
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (913) 864-9086
Lawrence, Kansas 66045 FAX: (913) 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.
==================================
- Need help/examples with enumerated lists,
Paul E. Johnson <=
- Re: Need help/examples with enumerated lists, Benedikt Stefansson, 1998/07/16
- Re: Need help/examples with enumerated lists (ooops...), Benedikt Stefansson, 1998/07/16
- Re: Need help/examples with enumerated lists (ooops...), Ken Cline, 1998/07/21
- Re: Need help/examples with enumerated lists (ooops...), Benedikt Stefansson, 1998/07/21
- @deftype and Objective-C Reference, Michael Whidden, 1998/07/22
- Re: @deftype and Objective-C Reference, Sven N. Thommesen, 1998/07/22
- Problems on displaying graphs, Alessandro Perrone, 1998/07/22
- Re: Problems on displaying graphs, Marcus G. Daniels, 1998/07/22
- Re: Problems on displaying graphs, James Marshall, 1998/07/22
- Re: Problems on displaying graphs, Pietro Terna, 1998/07/22