Number variable -1

ptitkams

Новичок
Регистрация
19.06.2017
Сообщения
3
Благодарностей
0
Баллы
1
Good Morning ppl,

I have another question today.
I want to know how can I do a varible to get -1 per action.
Example : www.example.com/page5123
I want to do a variable to get www.example.com/page5122 /page5121 /page5120

Big thx to everyone and big up community.
 

Nord

Client
Регистрация
22.03.2012
Сообщения
2 401
Благодарностей
1 464
Баллы
113
  • Спасибо
Реакции: ptitkams

EtaLasquera

Client
Регистрация
02.01.2017
Сообщения
526
Благодарностей
112
Баллы
43
You must use c# code to do mathematic operations.
To simple variables you can use "set value, increase counter, decrease counter".

To use mathematic operations in c# you will need:
Код:
int i = projetc.Variables["myvariable"].Value;
return i -1;
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)