This speaks for itself I hope…
INCREMENT operand1 [BY operand2]
Default increment is 1.
Its about the closest we can get to Java-like i++
I think it would make semantic sense to implement DECREMENT too even though its just a negative increment.
This speaks for itself I hope…
INCREMENT operand1 [BY operand2]
Default increment is 1.
Its about the closest we can get to Java-like i++
I think it would make semantic sense to implement DECREMENT too even though its just a negative increment.
What benefit would that give you over
ADD operand2 TO operand1
?
No difference, just shorthand. Makes particular sense using the default:
INCREMENT I
DECREMENT J
Just an idea.
Why do you want to be so verbose with new statements. INCREMENT I is no advantage over ADD 1 TO I (11 vs 10 chars to code). If a shorthand for this is needed, it should be I++!