Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!rex!JNCS@uno.edu From: jncs@uno.edu Newsgroups: comp.lang.objective-c Subject: internal subprograms inside a class implementation Message-ID: <00940412.529FBDA0@uno.edu> Date: 26 Nov 90 00:15:29 GMT Sender: news@rex.cs.tulane.edu Reply-To: jncs@uno.edu Lines: 11 I am using Objective-C in the NeXT, and I'm learning as I go. I have a simple question which I hope many of you have run into. I have been trying to define an "internal" function (ie, not declared in the interface file) inside the implementation file for a class. In this function I access an instance variable. The message I get is that the instace variable has not been declared. Thus, it seems that the scope of instance variables is limited to the body of the methods. Is there a way to access instance variable in the implementation file? In general, what is the scope of instance variables in the implementation file? Thanks J. Nino