- Регистрация
- 16.09.2011
- Сообщения
- 365
- Благодарностей
- 10
- Баллы
- 18
Using the attached code for the globvar.
I know how to increase and decrease by 1 but I want a seperate template so i can reset chosen templates to 0 without having to restart zp.
I was doing it with set variable and putting the globvar name. Ive done that in the past fine but today for some reaosn I got an error saying: Perform c sharp own code. Input string was not in correct format.
This error came after I used it not, on that process but on subsequent threads of the oroignal tmeplate I reset to 0.
I think I made some mistake somewhere since Ive used that way no problems before. I copy and pasted from another template and renamed so maybe that is the problem. but still would be nice to know the c# way to do it.
So how to do it with the attached c# code?
I know how to increase and decrease by 1 but I want a seperate template so i can reset chosen templates to 0 without having to restart zp.
I was doing it with set variable and putting the globvar name. Ive done that in the past fine but today for some reaosn I got an error saying: Perform c sharp own code. Input string was not in correct format.
This error came after I used it not, on that process but on subsequent threads of the oroignal tmeplate I reset to 0.
I think I made some mistake somewhere since Ive used that way no problems before. I copy and pasted from another template and renamed so maybe that is the problem. but still would be nice to know the c# way to do it.
So how to do it with the attached c# code?
Вложения
-
17,1 КБ Просмотры: 221