- Joined
- Oct 12, 2008
- Messages
- 1,570
Hello people,,
I am slowly but certainly learning Jass,,
Now i have come to a point where Jass is (i think) understandable to me now,
And i want to get the fine things of vJass,,
So here are my questions:
Strucs/Methods:
1) Why use a struct over just local variables?
2) I heard of 'Attaching a struct to a unit' once, how?
3) Do methods always have to be placed in a Struct?
4) What is the differenct between:
Library:
1) What is a library for?
2) Why use a library over normal functions?
Scope:
1) What is a scope for?
2) Why use a scope over normal functions?
and last:
1) What is the big difference between scopes and librarys? What is the best to use for what and why? Are there any nice advantages to one that the other one hasnt got?
Well, i hope you take the time to read it xD
-Yixx,,-
I am slowly but certainly learning Jass,,
Now i have come to a point where Jass is (i think) understandable to me now,
And i want to get the fine things of vJass,,
So here are my questions:
Strucs/Methods:
1) Why use a struct over just local variables?
2) I heard of 'Attaching a struct to a unit' once, how?
3) Do methods always have to be placed in a Struct?
4) What is the differenct between:
JASS:
local StructName data = data.Create
//or
local StructName data = data.allocate
Library:
1) What is a library for?
2) Why use a library over normal functions?
Scope:
1) What is a scope for?
2) Why use a scope over normal functions?
and last:
1) What is the big difference between scopes and librarys? What is the best to use for what and why? Are there any nice advantages to one that the other one hasnt got?
Well, i hope you take the time to read it xD
-Yixx,,-