| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Scope/Protection Question |
| From: | Karen <keatk@verizon.net> |
| Date: | Sat, 30 May 2009 22:56:00 -0400 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <5EAEA20D-BC8B-490D-8384-C965258AECF7@satx.rr.com> |
| References: | <345AFE42-338C-4588-9F76-7560C88B8609@verizon.net> <671647DA-EC14-41EB-A175-5289BBC5E0E3@satx.rr.com> <4A2197C1.1030809@inspiringapps.com> <5EAEA20D-BC8B-490D-8384-C965258AECF7@satx.rr.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
On May 30, 2009, at 8:21 PM, William Squires wrote: That is, in the code in Class2, you can refer to Property1 without an accessor, but you'll be referring to the value of Property1 associated with the instance of Class2 that you created with New. A different instance of Class2 cannot access the Property1 in the first instance without an accessor!!And this isn't even true, since you can trivially access the other object's Property1 simply by typecasting it to a Class1.This should be a bug! :) As should: I think you are getting private and protected mixed up. - karen _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Scope/Protection Question, William Squires |
|---|---|
| Next by Date: | Re: Operator_Compare with variant objects?, Joe Strout |
| Previous by Thread: | Re: Scope/Protection Question, William Squires |
| Next by Thread: | Re: Scope/Protection Question, Joe Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |