INC <name>{, <expression>}
INC Var1
INC Attr2, 5+Var1
Increments a variable, array element, or attribute by the value of a specified numeric expression. When counting the number of entities a location has processed, increment a variable at the end of the processing logic.
Any logic.
<name>
The name of any variable, array element, or attribute.
<expression>
The amount to increment the value. If this expression is omitted, the value will be incremented by one. This can be a negative number.
The following example increments two variables in the exit logic. Num_complete is incremented by one, and Count is incremented by the expression Attr1*Attr2.
See Also
DEC.
![]() |
© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com |