Difference between revisions of "Decrement"

From Lianjapedia
Jump to: navigation, search
(Products)
 
m (1 revision)
(No difference)

Revision as of 07:13, 25 October 2011

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