swarm-support
[Top][All Lists]
Advanced

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

Re: Function as an argument


From: Marcus G. Daniels
Subject: Re: Function as an argument
Date: 04 Apr 2000 16:11:19 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "AO" == Akiko Ogawa <- RS/GIS lab <address@hidden>> writes:

AO> So you are saying M(getAnObject) is OK, where, -(id) getAnObject?
AO> In my previous example, can I do this:

AO>   id myEgg = [obj perform: sel with: egg];
  
AO> if the passed function that is represented by sel returns an id??

Right, that should work.

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