swarm-support
[Top][All Lists]
Advanced

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

Re: A probe question


From: D. D. Donalson
Subject: Re: A probe question
Date: Fri, 30 Mar 2001 14:29:28 -0800

Sorry Marcus, I sometimes forget you don't read minds.  What I meant was in
the following code, there is a solitary ":" that looks like a separate
method between randomMoveProb and toggleRandom.  That is what I don't
recognize.

  probeMap =
    [CustomProbeMap create: aZone
                    forClass: [self class]
                    withIdentifiers:  "numBugs", "diffuseConstant",
                    "worldXSize", "worldYSize", "minIdealTemp",
"maxIdealTemp",
                    "minOutputHeat", "maxOutputHeat", "evaporationRate",
                    "randomMoveProbability", ":", "toggleRandomizedOrder",
                    "addHeatbug:", NULL];

Cheers,

   D4

----- Original Message -----
From: "Marcus G. Daniels" <address@hidden>
To: <address@hidden>
Sent: Friday, March 30, 2001 2:19 PM
Subject: Re: A probe question


> >>>>> "D4" == D D Donalson <address@hidden> writes:
>
> D4> I was looking through heatbugs and the new way of setting up a
> D4> probe "with identifiers". One thing I don't understand is what
> D4> the identifier ":" is. I assume it is some sort of default case?
>
> Do you mean what the meaning of ":" is in an Objective C message
signature?
> Methods like this:
>
> - (void)foo: bar
> {
> }
>
> or:
>
> - foo: (int)bar
> {
>    return nil;
> }
>
> ..are all seen by Objective C as "foo:", which is what a MessageProbe
> will show.
>
>                   ==================================
>    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.
>


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