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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to