Difference between revisions of "Increment"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) (→Products) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Increment memory variable by one | Increment memory variable by one | ||
Line 26: | Line 19: | ||
i=0 | i=0 | ||
do while i <100 | do while i <100 | ||
− | + | ++ i | |
enddo | enddo | ||
</code> | </code> | ||
Line 32: | Line 25: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
− | [[Category:Commands]] | + | [[Category:Commands|++]] |
+ | [[Category:Memory Variables]] | ||
+ | [[Category:Memory Variables Commands]] |
Latest revision as of 13:21, 10 November 2009
Purpose
Increment memory variable by one
Syntax
++ <memvar>
See Also
--, AVERAGE, COUNT, FOR, PARAMETERS, PRIVATE, PUBLIC, STORE, SUM
Description
The ++ command is used to automatically increment a previously declared numeric memory variable by one. The ++ command must be placed at the beginning of the command line.
Example
i=0 do while i <100 ++ i enddo
Products
Recital Server, Recital