[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proper syntax for monadic createActionTo?
From: |
Rick Riolo |
Subject: |
Re: proper syntax for monadic createActionTo? |
Date: |
Thu, 10 Apr 1997 07:35:07 -0400 (EDT) |
Offhand I think you want a : inside the M() macro:
[sked at: 0 createActionTo: c message: M(currentInjection:): f1];
- r
Rick Riolo address@hidden
Program for Study of Complex Systems (PSCS)
1061 Randall Lab University of Michigan
Ann Arbor MI 48109-1120
http://pscs.physics.lsa.umich.edu/PEOPLE/rlr-home.html
On Thu, 10 Apr 1997, Terrence M. Brannon wrote:
> Date: Thu, 10 Apr 1997 03:45:47 -0700 (PDT)
> From: Terrence M. Brannon <address@hidden>
> To: address@hidden
> Cc: address@hidden
> Subject: proper syntax for monadic createActionTo?
>
> I have a class which has an instance method w/the following interface:
> - (void) currentInjection: (SgFloat) _ci;
>
> When I attempt to schedule a message to it as follows
> [sked at: 0 createActionTo: c message: M(currentInjection): f1];
>
> I get this runtime complaint:
> error: SgCompartment (instance)
> SgCompartment does not recognize currentInjection
> IOT trap/Abort
> address@hidden ~/SWARM/SwarmGenesis/Models/sc :
>
> --
> o============o Sending unsolicited commercial e-mail (UCE) to this address
> Legal Notice is indication of your consent to pay me $120/hour for 1 hour
> o============o minimum for professional proofreading & technical assessment.
> terrence brannon * address@hidden * http://rana.usc.edu:8376/~brannon
>
> ==================================
> 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.
==================================