AMOSi:Add

From Amiga Coding
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-0/Help_1.amos


Adds a number or expression to an integer variable at maximum speed.


Add variable,expression

There's also a second, more powerful version of the command as well.


Add variable,expression,min To max

Adds your expression to the variable as before. But after the result reaches one of the limits, the variable cycles back from the start.