Re: [fpc-devel] No default property value allowed for double type?

2005-05-22 Thread Florian Klaempfl
Bram Kuijvenhoven wrote: > > The storage specifiers are not explained in the FPC reference manual as > far as I know, though they are in the syntaxis diagram of course. Michael? > > And somehow FPC allows default values for singles. ... because they have a size of 4 which is required for a def

Re: [fpc-devel] No default property value allowed for double type?

2005-05-17 Thread Bram Kuijvenhoven
Peter Vreman wrote: I don't know the reason why single is allowed. Delphi doesn't allow default values for single or double. I looked it up in the Delphi documentation (I should have done that before) and found out the default directive even has a different meaning from what I thought :) I though

Re: [fpc-devel] No default property value allowed for double type?

2005-05-16 Thread Peter Vreman
> Hi, > > Is there a reason why one can't specify a default value for a property of > type double, or is this a bug? (In the latter case I'll file it as a bug) > > Compiler version: 2.0.0, Win32 > OS: Win XP (though I guess that is irrelevant) > > Example code: > === > program DoublePropDef

[fpc-devel] No default property value allowed for double type?

2005-05-16 Thread Bram Kuijvenhoven
Hi, Is there a reason why one can't specify a default value for a property of type double, or is this a bug? (In the latter case I'll file it as a bug) Compiler version: 2.0.0, Win32 OS: Win XP (though I guess that is irrelevant) Example code: === program DoublePropDefault; type TMyClass