I could live with the extends argument if

1) RS implemented the #inline  concept

And

2) we were allowed to create extension methods named "++","--" etc   :)


On 12/10/06 16:53, "Phil M" <[EMAIL PROTECTED]> wrote:

> As Aaron pointed out in his blog, you can imitate increment and
> decrement using Extends.  It is not the same thing as operators, but
> it is something you can do right now and "looks" more like REALbasic.
> 
> Example:
> 
>    Dim myInt As Integer = 3
> 
>    myInt.Increment        // same as myInt++
>    myInt.Add(5)           // same as myInt += 5
>    myInt.Multiply(2.5)    // same as myInt *= 2.5
>    myInt.Decrement        // same as myInt--


_______________________________________________
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>

Reply via email to