The INC statement increases
the value of a variable by one.
Syntax |
 |
Parameters |
 |
- variable
Specifies 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
|