[fpc-pascal] Extended property can't have default value?
Joao Morais
post at joaomorais.com.br
Mon Oct 6 16:11:35 CEST 2008
Graeme Geldenhuys wrote:
> Why is the following not allowed in a class declaration?
>
> property Increment: extended read FIncrement write SetIncrement default 1.0;
>
>
> yet this is...
>
> property Increment: integer read FIncrement write SetIncrement default 1;
>
>
> What would be the major obstacle between Extended and Integer types?
> How can I overcome this issue?
Using stored instead of default?
--
Joao Morais
More information about the fpc-pascal
mailing list