[fpc-pascal] class abstract

ik idokan at gmail.com
Fri May 6 21:21:37 CEST 2011


Hello,

I have two questions regarding class Abstract:

1. From what version of FPC does it support ?
2. Can I inherit from a class and the new class that I declare can be set as
abstract ?

I mean

TClassA = class abstract
...
end;

TClassB = Class(TClassA) abstract ?

If so, then what am I missing here? FPC (2.5.1) tell me that it is expecting
":", but "abstract" was found.

Thanks,
Ido


LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110506/93bd32c2/attachment.html>


More information about the fpc-pascal mailing list