Difference between revisions of "Decrement"

From Recital Documentation Wiki
Jump to: navigation, search
(Products)
 
Line 25: Line 25:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands|--]]
 
[[Category:Commands|--]]
 
[[Category:Memory Variables]]
 
[[Category:Memory Variables]]
 
[[Category:Memory Variables Commands]]
 
[[Category:Memory Variables Commands]]

Latest revision as of 13:21, 10 November 2009

Purpose

Decrement memory variable by one


Syntax

-- <memvar>


See Also

++, AVERAGE, COUNT, FOR, PARAMETERS, PRIVATE, PUBLIC, STORE, SUM


Description

The -- command is used to automatically decrement a previously declared numeric memory variable by one. The -- command must be placed at the beginning of the command line.


Example

i=100
do while i > 0
    --i
enddo


Products

Recital Server, Recital