INC - Increment variable

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

INC(variable [, increment ] )

Increment <variable> by one or by <increment>.


<increment> may be any expression.


If <variable> is a pointer, it is incremented to point to the next item or <increment> items forward.


Restriction:


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