Difference between revisions of "Increment"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
Line 22: | Line 22: | ||
[[Category:Commands|++]] | [[Category:Commands|++]] | ||
[[Category:Declaring Variables and Arrays]] | [[Category:Declaring Variables and Arrays]] | ||
+ | [[Category:Lianja VFP Extensions]] | ||
+ | [[Category:VFP Command Extensions]] |
Latest revision as of 06:32, 10 December 2012
Contents
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