Android Question Shorthand Arithmetic operators

noeleon

Active Member
Licensed User
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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…