Difference between revisions of "AMOSi:Add"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
(Extracted from the AMOSPro V2.00 helpfile)
(No difference)

Revision as of 02:45, 17 November 2007

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.