Increase 1

underwear

Новичок
Регистрация
07.01.2012
Сообщения
79
Благодарностей
3
Баллы
0
Hello, i need the global variables to increase 1 when instance finish, and when i open the second instance, the global variables will show the value of increased 1.

Pls help me, thank you.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
You need to initiate global variable with 1 project and increase it in other project. Not all in one.
 
  • Спасибо
Реакции: underwear

underwear

Новичок
Регистрация
07.01.2012
Сообщения
79
Благодарностей
3
Баллы
0
can you make a template to me, thank you!
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
You need to initiate global variable with 1 project and increase it in other project. Not all in one.
actually this is not true, all can be done in single project using simple "if" statement where you check the value of global variable first, and if bigger then 0 continue with work, if not set global and work :p
 
  • Спасибо
Реакции: hotohori и underwear

underwear

Новичок
Регистрация
07.01.2012
Сообщения
79
Благодарностей
3
Баллы
0
thank you, but how to use the global variable in the others instance?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

underwear

Новичок
Регистрация
07.01.2012
Сообщения
79
Благодарностей
3
Баллы
0
:confused::confused::confused::confused:
i'm sorry, Im stuck, can you make a template for me, thank you very much!
 

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