INC x is the same as the statement
However, because it doesn't do an addition it's a bit more efficient.
DEC x is the same as
The observant reader may think that
DEC are the same as
But there's one important difference:
INC x always increases
x by one, whereas
x++ may increase
x by more than one depending on the type to which
For example, if
x were a pointer to
x++ would increase
x by two (
INT is 16-bit, which is two bytes).
Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.