Difference between revisions of "Increment"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
==Class==
 
Memory Variables
 
 
 
 
==Purpose==
 
==Purpose==
 
Increment memory variable by one
 
Increment memory variable by one

Revision as of 09:47, 23 October 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 Database Server, Recital Mirage Server, Recital Terminal Developer