Re: Cleanup with Erase after Split?
The fact remains that it is not really a useful operation. COM does not work
in a way that sees a difference UNLESS you need to:
(a) deal with global variables which would not be freed up until you reset
code or exit the app, or
(b) want to free up the memory prior to the end of the proc when the
implicit freeing up would happen.
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies
This posting is provided "AS IS" with
no warranties, and confers no rights.
"Larry Linson" <bouncer@localh ost.not> wrote in message
news:M66Db.1046 6$xO.6586@nwrdd c02.gnilink.net ...[color=blue]
> "Tom van Stiphout" wrote
>[color=green]
> > I just did. Results: no noticeable
> > effects. Indeed VBA must be freeing
> > memory behind the scenes. You
> > were right all along.[/color]
>
> You don't suppose this might be one of those "it always does this (except
> when it doesn't)" cases?
>
> We've seen enough of those cases in various software, including Access,[/color]
over[color=blue]
> the years, that I consider it "not just superstition" to set objects to
> Nothing when I am finished with them.
>
> Larry Linson
> Microsoft Access MVP
>
>[/color]
The fact remains that it is not really a useful operation. COM does not work
in a way that sees a difference UNLESS you need to:
(a) deal with global variables which would not be freed up until you reset
code or exit the app, or
(b) want to free up the memory prior to the end of the proc when the
implicit freeing up would happen.
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies
This posting is provided "AS IS" with
no warranties, and confers no rights.
"Larry Linson" <bouncer@localh ost.not> wrote in message
news:M66Db.1046 6$xO.6586@nwrdd c02.gnilink.net ...[color=blue]
> "Tom van Stiphout" wrote
>[color=green]
> > I just did. Results: no noticeable
> > effects. Indeed VBA must be freeing
> > memory behind the scenes. You
> > were right all along.[/color]
>
> You don't suppose this might be one of those "it always does this (except
> when it doesn't)" cases?
>
> We've seen enough of those cases in various software, including Access,[/color]
over[color=blue]
> the years, that I consider it "not just superstition" to set objects to
> Nothing when I am finished with them.
>
> Larry Linson
> Microsoft Access MVP
>
>[/color]
Comment