|
Posted by McKirahan on 11/19/38 11:33
"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
Navigation:
[Reply to this message]
|