[fpc-pascal] destructor

Nitorami mneubauer at alice-dsl.net
Wed Feb 1 21:27:45 CET 2017

As I understand this: It may sometimes well be necessary to write your own
destructor to clean up. But if you do this, don't call it foo; call it
destructor and override it: destructor destroy; override; 
In your own destructor method, don't forget to call inherited in the end.

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/destructor-tp5727426p5727549.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list