Inc
Top  Previous  Next


Adds one (1) to a numerical variable

Category
General

Script section
All

Inc %variable%

%variable%
Variable to increment  

Example

[Settings_Begin]
SET counter1=0
[Settings_End]

[Batch_Begin]
Inc %counter1%
MessageBox %counter1%
[Batch_End]