Thanks Christof, I'd forgotten that as I always use a local variable for the
object it would be released automatically.  You've made it much clearer,
many thanks.

John Weller
01380 723235
07976 393631 


> RELEASE affects the variable primarily, the object reference only
> secondarily. To  release an object, set the variable holding the reference
> to NULL (or .NULL.). If you wish to add the RELEASE statement, the proper
> way would be to execute the line
> 
> RELEASE THIS
> 
> from within a method of the object (mines is called Release) before you
set
> the variable to NULL.
> 
> RELEASEing the variable is only required if you have a public or private
> variable that would otherwise stay in scope.
> 
> Christof


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to