Number variable -1

  • Автор темы Автор темы ptitkams
  • Дата начала Дата начала

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.
 
You need reduce counter by 1 in cycle
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.
337003c6f7f26dbf9461bf0ce5be407e.png
 
  • Спасибо
Реакции: ptitkams
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;
 

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