- Joined
- Aug 9, 2004
- Messages
- 11
I know how to use locals and prevent leaks for the most part. One thing I don't know tho is how to find out the 'type' of thing I want to make a variable for...
eg..... if i want to remove the often used TempPoint, I use CS: call RemoveLocation( udg_TempPoint ) ..... (btw, do I need those spaces between the parenthesis?)
but if i wanted to create a local variable point (instead of having to resort to globals for everything, like I'm currently doing)
I'd assume I'd use CS: local point udg_TempPoint .... so why is it that to remove a temp point it's RemoveLocation and not RemovePoint? And what do i do to remove a local variable temppoint?
unit groups is another one I'd like to hear about.
I hope someone understands this, barring my bad english. Thank you.
eg..... if i want to remove the often used TempPoint, I use CS: call RemoveLocation( udg_TempPoint ) ..... (btw, do I need those spaces between the parenthesis?)
but if i wanted to create a local variable point (instead of having to resort to globals for everything, like I'm currently doing)
I'd assume I'd use CS: local point udg_TempPoint .... so why is it that to remove a temp point it's RemoveLocation and not RemovePoint? And what do i do to remove a local variable temppoint?
unit groups is another one I'd like to hear about.
I hope someone understands this, barring my bad english. Thank you.