[fpc-devel] FPC 3.0.0 class property default

Sven Barth pascaldragon at googlemail.com
Tue Oct 27 14:29:18 CET 2015


Am 27.10.2015 12:30 schrieb "Mark Morgan Lloyd" <
markMLl.fpc-devel at telemetry.co.uk>:
> What is the correct syntax, and how far back is FPC compatible with it?

A property must have at least a read or a write accessor if it isn't
inherited, so you need to add at least one of them. Since that is the
standard form for properties FPC supports this since the "default" keyword
for properties is supported.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151027/46db0d2c/attachment.html>


More information about the fpc-devel mailing list