realbasic-nug
[Top] [All Lists]

Object Clean Up ?

To: realbasic-nug at lists dot realsoftware dot com
Subject: Object Clean Up ?
From: "Kevin Wilson" <kevinwilson1997 at hotmail dot com>
Date: Mon, 31 May 2004 00:42:55 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
If I declare a function (for example), then I dimention and use an "OLEObject" variable within that function -- how concerned should I be about cleaning up that variable by setting it to "Nil"? Should I not worry about it because REALbasic's "garbage collection" is so good and/or the variable goes out of scope once execution leaves the function and the object is cleaned up automatically? Or should I take the VB5/VB6 stance and set *ALL* objects I instantiate equal to "Nil" in order to clean them up and free their memory?

Thanks much for the help!   =)

___________________________
Kevin Wilson
The VB Zone
VBZ at thevbzone dot com


_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>