After looking through the documentation and searching the forum i am still not sure.
Is it true that BM does not have some kind of destructor and constructor which is automatically called when creating a type.
I mean something like classes in C++ have.
If so it would be nice to have them like a
OnCreate and OnDestroy function for every type. So that this functions are automatically called when a type is created with new or when a type is destroyed by the garbagecollector.
Mirko
PS: OK, the OnCreate can be called by my programm after it creates a type using new, but the OnDestroy should occure when the type is killed by the gb, as i might not know how long the type is used. Still, having both would be nice.
Is it true that BM does not have some kind of destructor and constructor which is automatically called when creating a type.
I mean something like classes in C++ have.
If so it would be nice to have them like a
OnCreate and OnDestroy function for every type. So that this functions are automatically called when a type is created with new or when a type is destroyed by the garbagecollector.
Mirko
PS: OK, the OnCreate can be called by my programm after it creates a type using new, but the OnDestroy should occure when the type is killed by the gb, as i might not know how long the type is used. Still, having both would be nice.