- Joined
- Mar 3, 2006
- Messages
- 1,564
Let me get what I understand straight ... (correct me if I am wrong)
Libraries: will move whats inside it to the top of the map script; whats inside it includes: functions, structs, globals (what else ? )
Scopes: will keep whats inside as it is (i.e. will not move whats inside to the top)
Questions:
1) If scope will keep things as it is why do I add it in the first place ?
2) How a scope inside library will work, will it move whats inside the library to the top and keep whats inside the scope as it is ?
3) How globals inside scopes will function properly; isn't globals supposed to be in the top of the script, the scope keyword will make the global not to move to the top, isn't it ?
Libraries: will move whats inside it to the top of the map script; whats inside it includes: functions, structs, globals (what else ? )
Scopes: will keep whats inside as it is (i.e. will not move whats inside to the top)
Questions:
1) If scope will keep things as it is why do I add it in the first place ?
2) How a scope inside library will work, will it move whats inside the library to the top and keep whats inside the scope as it is ?
3) How globals inside scopes will function properly; isn't globals supposed to be in the top of the script, the scope keyword will make the global not to move to the top, isn't it ?