Now that I UNDERSTAND Vexorian's handle variables it doesn't matter so much, but...
if you use indexes in an array, do all lower indices get memory allocated? In other words, if you were to do sth like use mod 1000 of a handle as the index value (and do what blizzard does with mpqs, and skip values if the desired one is full ^ ^ ), would you be wasting space?
i.e., you might be using spellTarget[17] and spellTarget[201] and spellTarget[724], but all the rest haven't been initialized yet. Are indices 723 on down still using up memory?
Related question: what happens if you start using a variable without assigning it a value?... (a type, yes, just no = .)
/me has many more questions, she justs wants to keep this post relatively on topic.. >.>
if you use indexes in an array, do all lower indices get memory allocated? In other words, if you were to do sth like use mod 1000 of a handle as the index value (and do what blizzard does with mpqs, and skip values if the desired one is full ^ ^ ), would you be wasting space?
i.e., you might be using spellTarget[17] and spellTarget[201] and spellTarget[724], but all the rest haven't been initialized yet. Are indices 723 on down still using up memory?
Related question: what happens if you start using a variable without assigning it a value?... (a type, yes, just no = .)
/me has many more questions, she justs wants to keep this post relatively on topic.. >.>