[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using forEach:
From: |
Norberto Eiji Nawa(0.3.31) |
Subject: |
Re: Using forEach: |
Date: |
Tue, 07 Sep 1999 16:47:59 +0900 |
Darren> I saw this type of construct in an example that Benedikt used.
Darren> [availableList forEach: M(findClosestNeighbor: availableList)];
Darren> But, I am getting a parse error before ). How can I send the list to
the
Darren> group of agents and instruct them to execute the command?
I have never tried this before with forEach, but assuming that the
syntax is similar to methods like createActionTo/createActionForEach,
I guess:
[availableList forEach: M(findClosestNeighbor:) : (id) availableList)];
may work.
Hope it helps,
Eiji
==================================
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.
- Re: 1st Problem Installing Swarm2.0 in LinuxPPC R5, (continued)
- 2nd Problem Installing Swarm2.0 in LinuxPPC R5, Darren Schreiber, 1999/09/05
- Re: 2nd Problem Installing Swarm2.0 in LinuxPPC R5, Marcus G. Daniels, 1999/09/05
- 3rd Problem Installing Swarm2.0 in LinuxPPC R5, Darren Schreiber, 1999/09/05
- Re: 3rd Problem Installing Swarm2.0 in LinuxPPC R5, Marcus G. Daniels, 1999/09/05
- 4th Problem Installing Swarm2.0 in LinuxPPC R5, Darren Schreiber, 1999/09/06
- Re: 4th Problem Installing Swarm2.0 in LinuxPPC R5, Marcus G. Daniels, 1999/09/06
- Re: 4th Problem Installing Swarm2.0 in LinuxPPC R5, Darren Schreiber, 1999/09/07
- Using forEach:, Darren Schreiber, 1999/09/07
- Re: Using forEach:,
Norberto Eiji Nawa(0.3.31) <=
- Re: Using forEach:, Ken Cline, 1999/09/07
- Re: 4th Problem Installing Swarm2.0 in LinuxPPC R5, Marcus G. Daniels, 1999/09/07
- return type for a method parameter & assigning probe buttons, William S. Shu, 1999/09/07
- Re: return type for a method parameter & assigning probe buttons, Marcus G. Daniels, 1999/09/07
- Re: return type for a method parameter & assigning probe buttons, William S. Shu, 1999/09/07
- [no subject], DARREN MATTHEW SCHREIBER, 1999/09/07
- Re: none, Marcus G. Daniels, 1999/09/07
- Dendogram, Darren Schreiber, 1999/09/08
- Re: Dendogram, Marcus G. Daniels, 1999/09/08
- Display direction, Jayshree Sarma, 1999/09/08