Subject Re: effect of nullifying an object reference
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Wed, 30 Sep 2020 13:13:01 -0700
Newsgroups dbase.getting-started

On 9/30/2020 12:56 PM, Gaetano wrote:
>
> Hi All,
>
> If I nullify an object such as oCGI wiht oCGI = Null, does that also
> release the memory that the assocArray was using?

Not completely. The usual way people do this:

oCGI = null // null out the object reference to it
release oCGI // release the memory variable oCGI

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm