[fpc-pascal] class destructor not recognised

Paul Ishenin paul.ishenin at gmail.com
Mon Jan 7 03:42:30 CET 2013


07.01.13, 8:03, Howard Page-Clark пишет:
> The following program compiles and gives output as expected, but if the
> lines that call the class destructor are uncommented it fails to compile
> with the error "identifier idents no member "Finalise"
...
> Am I not understanding how to use a class destructor, or is this a bug?

You don't understand.

Class destructor is called automatically like finalization section of a 
unit. You can't call it directly.

Best regards,
Paul Ishenin



More information about the fpc-pascal mailing list