DEC - Decrement variable

Language reference ›› Built-in procedures ›› Miscellaneous variable treatments ››
Parent Previous Next

DEC(variable [, decrement] )

Decrement <variable> by one or by <decrement>.

<decrement> may be any expression.

If <variable> is a pointer, it is decremented to point to the previous item or <decrement> items backward.


In the current implementation <variable> must be a simple variable, not a RECORD member nor an ARRAY element.