jestem pro
That is the question
- Joined
- Apr 20, 2013
- Messages
- 650
- Solutions
- 14
- Reaction score
- 87
Hello.
I wanna know some information about global tables/variables access between scripts. (I read a little bit).
What I noticed between 0.X and 1.X TFS, is access to gobal tables.
In 1.X we can use them everywhere and can get/set from everywhere.
In 0.X cannot be.
The way to reach that is to put them in lib/000-constant and use "_G." option.
Is it a good way? If someone could tell me something about it.
Maybe upgrade my lua lib to one support it? Now it's very uncomfortable.
Thanks
I wanna know some information about global tables/variables access between scripts. (I read a little bit).
What I noticed between 0.X and 1.X TFS, is access to gobal tables.
In 1.X we can use them everywhere and can get/set from everywhere.
In 0.X cannot be.
The way to reach that is to put them in lib/000-constant and use "_G." option.
Is it a good way? If someone could tell me something about it.
Maybe upgrade my lua lib to one support it? Now it's very uncomfortable.
Thanks