Increment

From Recital Documentation Wiki
Revision as of 10:59, 19 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

++

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