Difference between revisions of "Decrement"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
[[Increment|++]], [[AVERAGE]], [[COUNT]], [[PARAMETERS]], [[PRIVATE]], [[PUBLIC]], [[STORE]], [[SUM]]
+
[[Increment|++]], [[AVERAGE]], [[COUNT]], [[FOR]], [[PARAMETERS]], [[PRIVATE]], [[PUBLIC]], [[STORE]], [[SUM]]
  
  

Revision as of 10:58, 19 March 2009

--

Class

Memory Variables


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 Database Server, Recital Mirage Server, Recital Terminal Developer