N noeleon Active Member Licensed User Jan 17, 2019 #1 Are there shorthand arithmetic operators in B4A? for example to increment the variable x by 1 you would write x = x + 1 in b4a but in other languages you can also use x += 1 and in others x++ The shorthand is also a lot faster when inside a loop.
Are there shorthand arithmetic operators in B4A? for example to increment the variable x by 1 you would write x = x + 1 in b4a but in other languages you can also use x += 1 and in others x++ The shorthand is also a lot faster when inside a loop.
DonManfred Expert Licensed User Longtime User Jan 17, 2019 #2 I don´t think there will be a lot of improvement in speed. There are no shorthand operators. Create a small sub using x= x+y Upvote 0
I don´t think there will be a lot of improvement in speed. There are no shorthand operators. Create a small sub using x= x+y