Antonio,
If I may make a suggestion, TDatabase doesn't have an End() method. Yes, I know it has a Close() method, and that is consistent with the CLOSE statement. However, as an object, the Close() method name violates the polymorphism concept. Most of the other classes have an End() method.
So if you just add this line:
METHOD End() inline ::Close()
We can then use oDBF:End() syntax and it won't break any existing code.
I notice that you have done this in other classes that normally use "destroy" to end them.
Regards,
James
PS: Of course, I am asking because I often try to use the End() method and it crashes.