inc

Syntax

inc variable, value

Description

The inc command will increment a variable by a specified value or by a default of 1. Both integer and real variables can be incremented by either an integer or real value, in addition to array and data type elements.

Example

a = 1
print ( a )
inc a
print ( a )
inc a, 4
print ( a )