Curious question.....
Would it be more beneficial to set an object variable to Nothing and immediatly on the next line setting it again to another object or does this not make a difference as long as I set it to Nothing when finished?
I found a TON of object variables in an application I'm working on that are never set to Nothing and I'd like to start a clean-up process.
Also, if you don't mind - a quick explanation so I can use it when asked why I'm fixing all these object variables.
Thanks much
Would it be more beneficial to set an object variable to Nothing and immediatly on the next line setting it again to another object or does this not make a difference as long as I set it to Nothing when finished?
I found a TON of object variables in an application I'm working on that are never set to Nothing and I'd like to start a clean-up process.
Also, if you don't mind - a quick explanation so I can use it when asked why I'm fixing all these object variables.
Thanks much