| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: OOP |
| From: | Steve Roy <sroy at mac dot com> |
| Date: | Mon, 31 Oct 2005 14:22:24 -0500 |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| References: | <20051030181811 dot 58969 dot qmail at web31802 dot mail dot mud dot yahoo dot com> <43653509 dot 6010002 at ryandary dot com> <5860938B-C10C-4784-8EA1-BD9D57DD7C82 at haranbanjo dot com> |
Will Leshner wrote: He wants to make the methods private for all but one class. In C++ you would do this with "friend". But there is nothing analogous in REALbasic. In Java, a similar concept is the one of packages and package access. Methods that have package access can be called by any other class in the same package, but the RB language doesn't offer a way to formally organize classes. That would work though if the IDE enforced this through the folder organization. Steve -- Steve Roy <sroy at mac dot com> <http://homepage.mac.com/sroy> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | REALbasic doc ?, Norman Palardy |
|---|---|
| Next by Date: | Re: CFM library access from Mach-O?, Frank Condello |
| Previous by Thread: | Re: OOP, Frank Condello |
| Next by Thread: | Re: OOP, Norman Palardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |