Using NS3000/iX Network Services (36920-90008)

Chapter 8 195
NetCI
INC Statement
INC Statement
The INC statement increases the value of a variable by one.
Syntax
INC variable
Parameters
variable Speciļ¬es the variable to which the value is assigned.
This variable must begin with an alpha character.
Discussion
If the value of the variable is 32,767, an error message will display.
Example
%/LOG LOGFILE2
%/LET V=1
%/WHILE V <2
%SHOWJOB
%/INC V
%/ENDWHILE
%/LOGRESET