Hi Andy,
I believe the right notation is: {MATH(Add|Integer|{USERVAR(tmpfilecnt)}|1|#000)}
Not with an @ in there.
In the output of the set variable task you can see the value of the variable.
You also can view the value in the variable window at the user defined section.
Variables are globaly used through all the jobs.
So you can use the same vairable in other jobs as well. Be carefull that variables holds only one value, though.
Regards,
Erik
Uses Visualcron since 2006.