realbasic-nug
[Top] [All Lists]

Re: Method vs Property

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Method vs Property
From: Andy Dent <dent at oofile dot com dot au>
Date: Sun, 1 Oct 2006 09:16:11 +0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060929170038 dot 743DC153AF65 at lists dot realsoftware dot com> <1108DAEC-0D85-44AB-9D29-3F123622D610 at mac dot com> <5299410F-9008-4014-AF68-2606FCDF605A at mobleybros dot com>

On 30/09/2006, at 10:36 PM, Phil M wrote:
In REALbasic 2005, a new type was added called a Computed Property. This type shows up in the Debugger just like a Regular type, has unique parts for Get and Set (read and/or write only), and has a lower overhead than general methods (much faster).

So Computed Properties are, with some further naming constraints, what a C++ programmer would call a non-virtual method?

This means the long-standing issue with RGBSurface's methods having become virtual could be fixed by making them Computed Properties?
_______________________________________________
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>