[fpc-pascal] Why has the tkFloat default value changed?
Peter
peter at pblackman.plus.com
Mon Mar 1 14:35:36 CET 2021
On 28/02/2021 22:11, Mattias Gaertner via fpc-pascal wrote:
> Hi,
>
> In FPC 3.2.0 the default "Default" value of a single/double property
> has changed from $80000000 (fpc 3.0.4) to 0.
>
> This breaks TWriter.
> The $80000000 means the property has no default value.
> Now FPC 3.2.0 no longer writes a property if the value is 0.0, no
> matter what the stored function says.
>
> For example:
> property S: Single read FSingle write FSingle stored IsSStored;
>
> FPC 3.0.4 TWriter does write S if S=0.0 and IsSStored returns true.
> FPC 3.2.0 does not.
>
> I can't find this change in
> https://wiki.lazarus.freepascal.org/User_Changes_3.2.0
>
> Mattias
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Maybe this is related to bugs 33564 & 31985 ?
More information about the fpc-pascal
mailing list