variable in not working in global value namespace

hunthunt

Client
Регистрация
18.01.2013
Сообщения
22
Благодарностей
0
Баллы
1
71863

71864

the projectname variable is not show in it
71865
 

nicanil

Client
Регистрация
06.03.2016
Сообщения
2 242
Благодарностей
1 819
Баллы
113
Unfortunately you can not use local variables as a namespace value during global variable creation.
 

hunthunt

Client
Регистрация
18.01.2013
Сообщения
22
Благодарностей
0
Баллы
1
So why need to type a namesapce?
The old zp3 globalvalue dont need to type a namespace.
 

nicanil

Client
Регистрация
06.03.2016
Сообщения
2 242
Благодарностей
1 819
Баллы
113
At least since ZennoPoster 5 you have to use namespace for global variables (I don't know how it worked in 3rd version, I started to use ZP from 5th version :-) ).
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 449
Благодарностей
5 907
Баллы
113
Global variables have also their own namespaces. This has been added to prevent conflict between global variables from different projects.
For example, you bought, or simply download someone else's project. Even if names of global variables in your own projects and others are same, they still will not interfere with each other, because they have different namespaces.
 

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