Ed,
consider the following
with my best Bill Nye voicez1 = createobject( "form" )
z1.Show()
z2 = z1 && create a second reference to the one object
z1 = .null. && the form can't destroy because another ref exists
z2 = .null. && now the form goes away
The issue is with multiple pointers to the same object, the object can't go away until all references are gone.
>I've encountered this suggestion before, assigning NULL to an object pointer, but I've never really understood why. If the object is already gone, isn't the pointer already NULL? If it didn't destroy like it should, then am I not orphaning a piece of memory that will eventually make its way to the global OS heap and float around there until the machine is turned off?
>
>Regarding the objects themselves, I don't believe they are involved in a recursive call or cyclic relationship? In fact, the label object just 'is'...there is no code attached to it at all.