[fpc-pascal] Extended property can't have default value?

Michael Van Canneyt michael at freepascal.org
Mon Oct 6 16:46:20 CEST 2008



On Mon, 6 Oct 2008, Graeme Geldenhuys wrote:

> On Mon, Oct 6, 2008 at 4:13 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
> >
> > FPC is 100% Delphi compatible as FPC. Default values for sets are also only allowed
> > for sets that fit in 32-bits. We can change this, but that would require quite some
> > work in the RTTI structures.
> 
> So do you think this will change in 64bit Delphi and then in 64bit
> FPC?  RTTI structures also supporting 64bit values? It would make
> sense (to me at least). :-)
> 
> I just thought it odd that I couldn't use a simple type (I consider
> Extended a simple type, like Integer and String) in a property with a
> default value.

No, only ordinal types... Strings are also not supported.

Michael.



More information about the fpc-pascal mailing list