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

Reply via email to