I would love to have a function that can change the value of a variable by an amount. Yes, I can and have created my own Sub to do this in some programs, but I would love for this to be implemented as a QB64 function, especially considering how many variable types exist. It would certainly be more convenient, by only having the variable/array once, instead of twice. If a change needs to be made, it only needs to be made once, not to mention code being shorter. Another language I've used (SmileBASIC) does have such a function, and QB64 also has the SWAP function, so I don't see why QB64 couldn't have an INC function.
Syntax:
_INC VAR[, STEP]
VAR = Variable to increment.
STEP = Amount to increment by. If omitted, 1 will be used.
Example:
X = 7
PRINT X
_INC X, -3
PRINT X
_INC X
PRINT X
----------------------
7
4
5
You can probably see how that would be more convenient, by having _INC X instead of X = X + 1. Or _INC LongAFVariableName(3, 1, 2, 5) instead of LongAFVariableName(3, 1, 2, 5) = LongAFVariableName(3, 1, 2, 5) + 1.