AMOSi:Add

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.