Ferminho:
If you don't use Delete, everything's like before.
Ferminho:
The function would throw a runtime error.
as long as the new ones don't decrease old ones functionality
I'm sure they don't.If you don't use Delete, everything's like before.
Ferminho:
I'm not very sure how can an unreferenced-but-not-deleted-yet object can cause runtime errors. Could you give an example?
I didn't say an unreferenced-but-not-deleted-yet object, I said an invalid object. For example by writing a GUI module a window object whose window has closed:... Type TWindow Field handle ... Methdo Remove() 'After user called this method object still exist, but it's invalid CloseHandle handle ... Extern "Win32" Function CloseHandle( handle ) EndExtern EndMethod EndTypeWhat if user calls a method like SetSize after calling delete?
The function would throw a runtime error.