|
Posted by Highlander on 11/19/42 11:33
McKirahan wrote:
> "Highlander" <tron9901@msn.com> wrote in message
> news:1133482432.710124.52790@g49g2000cwa.googlegroups.com...
>
> [snip]
>
> > Since I've seen the "set variable = nothing" in many scripts, and have
> > been told that this is done to release memory, I assumed that it needed
> > to be done with every variable. If this isn't the case, what's the
> > criteria for when it should be used for a given variable?
>
> Objects are "Set" and may be assigned to "Nothing" when through.
>
> For example,
>
> Set FSO = CreateObject("Scripting.FileSystemObject")
> ...
> Set FSO = Nothing
I did this with every object that was "Dimmed". So you're saying that I
only need to take every object that was "Set" and assign them to
"Nothing" when through?
Navigation:
[Reply to this message]
|