new lang feature... += -= etc..

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

new lang feature... += -= etc..

niles-5

as long as we're adding to the language...
I miss the operator equality ops from C/C++...

+= -= |= etc...

i.e.

a += b short for a = a + b

Could these be added someday?

Just a suggestion....

        Thanks,
        Rick Niles.

Reply | Threaded
Open this post in threaded view
|

new lang feature... += -= etc..

John W. Eaton-6
On  2-Mar-1997, [hidden email] <[hidden email]> wrote:

| as long as we're adding to the language...
| I miss the operator equality ops from C/C++...
|
| += -= |= etc...
|
| i.e.
|
| a += b short for a = a + b
|
| Could these be added someday?

I've added this to the PROJECTS file.

Thanks,

jwe