| Subject |
Re: effect of nullifying an object reference |
| From |
Gaetano <gaetanodd@hotmail.com> |
| Date |
Thu, 1 Oct 2020 16:49:46 +1000 |
| Newsgroups |
dbase.getting-started |
Thanks Bruce.
Just one more question: releasing a variable that doesn't doesn't exist
doesn't produce an error, but attempting to release an object that
doesn't exist produces an error.
I guess taht for objects I need to do something like
if type("oRef") # "U"
release oRef
endif
Would that work?
Cheers,
Gaetano.
On 01/10/2020 08:47, Bruce Beacham wrote:
> But for an explicit destruction, consider using
> release object oCGI
>
> _Then_ release the memory variable, which will now be empty:
> release oCGI
|
|