Hi there,
I actually never needed to optimize code so I've never asked myself if there is an easier way to do the following:
Myvar = Myvar + 1
Is there a better way to do this?
Thanks.
Printable View
Hi there,
I actually never needed to optimize code so I've never asked myself if there is an easier way to do the following:
Myvar = Myvar + 1
Is there a better way to do this?
Thanks.
But that's the only way if you need to increment/decrement value for numeric types - only formula may vary.
If you need to concatenate strings then always use ampersand instead of plus sign.
I know ;)
Thanks.