I am confused about the use of the destructor in BMax.
I see reference to the "Delete" method, but no documentation on how to use it. Looking at sample programs, I can see that people are using Remove:
method DestroyMe()
mylist.Remove(Self)
end method
That obviously removes the reference to the object I created, but it doesn't actually remove the object itself, does it? Isn't this object still occupying memory until it is destroyed (deleted)?
So how do I use the destructor in BMax?
I see reference to the "Delete" method, but no documentation on how to use it. Looking at sample programs, I can see that people are using Remove:
method DestroyMe()
mylist.Remove(Self)
end method
That obviously removes the reference to the object I created, but it doesn't actually remove the object itself, does it? Isn't this object still occupying memory until it is destroyed (deleted)?
So how do I use the destructor in BMax?