- Joined
- Nov 22, 2006
- Messages
- 1,260
Hello people, I have some questions about vJass, because I love it and I want to know all about it.
1) So, scopes are a way to have private functions, struct etc. but what about globals (globals.......endglobals)? Are they also private when they are in a scope? If yes, then what does "private integer" (example) do when in "globals"?
2) What's the point in making a spell with private structs/functions in it? (a more detailed answer here please)
3) Is there a tutorial on Dinamic Arrays? Why are they useful, what exactly do they do?
4) Why do methods differ from normal functions? Why putting them there?
5) Is there any point in converting a function that attaches only reals and integers on a handle to use structs?
6) I saw somewhere that scopes are supposed to go as comments, not directly, is that true? (//! scope........//! endscope, i think it was like that)
I wonder how people know these things (libraries/scopes) if there's no tutorial on them.
Well, thanks in advance
P.S. Maybe I'll be adding some more questions to this thread (editing this post) when I come up with them, I just can't remember all the things I wanted to ask, so look in this first post every now and then just in case
1) So, scopes are a way to have private functions, struct etc. but what about globals (globals.......endglobals)? Are they also private when they are in a scope? If yes, then what does "private integer" (example) do when in "globals"?
2) What's the point in making a spell with private structs/functions in it? (a more detailed answer here please)
3) Is there a tutorial on Dinamic Arrays? Why are they useful, what exactly do they do?
4) Why do methods differ from normal functions? Why putting them there?
5) Is there any point in converting a function that attaches only reals and integers on a handle to use structs?
6) I saw somewhere that scopes are supposed to go as comments, not directly, is that true? (//! scope........//! endscope, i think it was like that)
I wonder how people know these things (libraries/scopes) if there's no tutorial on them.
Well, thanks in advance
P.S. Maybe I'll be adding some more questions to this thread (editing this post) when I come up with them, I just can't remember all the things I wanted to ask, so look in this first post every now and then just in case