Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!helios.ee.lbl.gov!pasteur!agate!fugitive!neveu From: neveu@fugitive.berkeley.edu (Charles Neveu) Newsgroups: comp.sys.next Subject: Null Selector (was Re: Question about Objective-C's @selector) Summary: How do you define a null or empty SEL variable? Keywords: SEL Message-ID: <1990Jul18.010605.4594@agate.berkeley.edu> Date: 18 Jul 90 01:06:05 GMT References: <26a20030.3d07@petunia.CalPoly.EDU> <5144@milton.u.washington.edu> <55882@microsoft.UUCP> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Distribution: na Organization: Neurology Laboratory, University of California Lines: 10 X-Local-Date: 17 Jul 90 18:06:05 PDT Sender:Charles Neveu I have a question about SEL variables. How do you initialize a SEL variable to have an invalid, or null, value. That is, I have a SEL variable that I want to initialize to a value that is invalid; some part of the program will set the value to a valid selector; another part of the program will check the value to determine whether it is valid and if it is, send that message to an object. So what do I initialize the variable to? 0? -1? (int) NULL? Thanks, Charles