Wish inline add/subtract etc.

AnandGupta

Expert
Licensed User
Longtime User
Refer to

I like to take this opportunity to again request for 'inline add/subtract'

now:
a = a + 1
b = b - 1
c = c * 2

request:
a ++
b --
c *= 2
 

Peter Simpson

Expert
Licensed User
Longtime User

AnandGupta

Expert
Licensed User
Longtime User
I added the reference of inline casting. Which I thought may give a push for it.
 

Sandman

Expert
Licensed User
Longtime User
Clearly, the next logical step for this thread is for you two to fight to the death.

Yes, this is a joke. Yes, I sometimes joke in bad taste. Yes, it's bad. Yes, I should stop. Yes, I write what the voices in my head dictate.
 

LucaMs

Expert
Licensed User
Longtime User
It is not essential but it is comfortable and nice.

Thanks to the fact that the B4X text editor remembers the last variable you used, it is also convenient enough to write its name twice (MyVar = MyVar + 1)
 

AnandGupta

Expert
Licensed User
Longtime User
It is also a compiler feature, I presume, and if Erel wishes ? it will happen, when he has time.
 
Top