Action
Increments a variable
by one.
Syntax
INCR var
Remarks
Var Any numeric variable.
There are often situations where you want a number to be increased by
1.
The INCR statement is faster then var = var + 1.
See also
DECR
Example
DO 'start loop
INCR a 'increment a
by 1
PRINT a 'print a
LOOP UNTIL a > 10 'repeat
until a is greater than 10
|