Difference between revisions of "Increment"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Memory Variables | Memory Variables | ||
Line 26: | Line 23: | ||
i=0 | i=0 | ||
do while i <100 | do while i <100 | ||
− | + | ++ i | |
enddo | enddo | ||
</code> | </code> | ||
Line 34: | Line 31: | ||
Recital Database Server, Recital Mirage Server, Recital Terminal Developer | Recital Database Server, Recital Mirage Server, Recital Terminal Developer | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
− | [[Category:Commands]] | + | [[Category:Commands|++]] |
Revision as of 14:58, 24 March 2009
Class
Memory Variables
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 Database Server, Recital Mirage Server, Recital Terminal Developer