Path: utzoo!attcan!uunet!microsoft!edwardj From: edwardj@microsoft.UUCP (Edward JUNG) Newsgroups: comp.sys.next Subject: Re: Question about Objective-C's @selector Message-ID: <55882@microsoft.UUCP> Date: 17 Jul 90 16:54:35 GMT References: <26a20030.3d07@petunia.CalPoly.EDU> <5144@milton.u.washington.edu> Reply-To: edwardj@microsoft.UUCP (Edward JUNG) Distribution: na Organization: Microsoft Corp., Redmond WA Lines: 19 In article <26a20030.3d07@petunia.CalPoly.EDU> mdeale@vega.acs.calpoly.edu (Myron Deale) writes: >>I have something like >> [stuff deleted for brevity] You can pass a variable as a SEL parameter. You can also get the selector from a string that names the selector (like 'perform:') using the call "set_getUid()". Take a look at /usr/include/objc/objc.h for some helpful APIs for selector hacking. It isn't clear from your message how you want to get a reference to a selector... -- Edward Jung Systems Architecture Systems Strategy Task Force Microsoft Corp.