| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Scope/Protection Question |
| From: | Metsis <listat@kotikone.fi> |
| Date: | Sat, 30 May 2009 21:50:46 +0300 |
| 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: | <A1D4CABD-DD79-4126-8A5C-0E1E2F54993E@verizon.net> |
| References: | <345AFE42-338C-4588-9F76-7560C88B8609@verizon.net> <A1D4CABD-DD79-4126-8A5C-0E1E2F54993E@verizon.net> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
| User-agent: | Thunderbird 2.0.0.21 (Macintosh/20090302) |
Karen kirjoitti: Is this a bug or is it just too late at night and I am tired and confused? I received your message at (my) morning, and I think you're tired and confused. I may be wrong but I think that RB is a one-pass compiler without forward declarations [1], i.e. you can't refer to a subclass in a parent class, which is what you do in your > Sub Class1.aMethod(Parent as Class2) me.Property1 = Parent.Property1 End Sub <A totally different think is that the compiler's error message is... ehum, shall we say, less-than-accurate. Metsis [1] http://en.wikipedia.org/wiki/Forward_declaration _______________________________________________ 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: Operator_Compare with variant objects?, Michael Diehr |
|---|---|
| Next by Date: | Re: Operator_Compare with variant objects?, Michael Diehr |
| Previous by Thread: | Re: Scope/Protection Question, Joe Strout |
| Next by Thread: | Re: Scope/Protection Question, Joe Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |