swarm-support
[Top][All Lists]
Advanced

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

Re: Array in ProbeMap


From: Marcus G. Daniels
Subject: Re: Array in ProbeMap
Date: 20 Jul 2000 08:50:33 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "PJ" == Paul Johnson <address@hidden> writes:

RB> Do you know if there is a way to put elements of an integer array
RB> directly in a ModelSwarm customized probeMap?

PJ> WHy would it not work to create a method like this in the model
PJ> swarm

PJ> -(int) getArrayMember: (int) x { return thatarray[x]; }

Yeah, getter and setter methods (and MessageProbes) are a workaround.
Or string-based getter and setter methods that print and parse the
array.

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