Empty String it is a default value.
What if increase to size of default value to int64 so we can add
default value to Currency/Double properties, and that make my exported
XML more small, and it is still compatible with Delphi.
___
fpc-pascal maillist
On 06 Oct 2008, at 12:48, Graeme Geldenhuys wrote:
Why is the following not allowed in a class declaration?
property Increment: extended read FIncrement write SetIncrement
default 1.0;
Because default values are stored in a 32 bit location inside the
compiler. I have no idea what the
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
On Mon, 6 Oct 2008, Jonas Maebe wrote:
On 06 Oct 2008, at 12:48, Graeme Geldenhuys wrote:
Why is the following not allowed in a class declaration?
property Increment: extended read FIncrement write SetIncrement default
1.0;
Because default values are stored in a 32 bit
Jonas Maebe wrote:
On 06 Oct 2008, at 12:48, Graeme Geldenhuys wrote:
Why is the following not allowed in a class declaration?
property Increment: extended read FIncrement write SetIncrement
default 1.0;
Because default values are stored in a 32 bit location inside the
compiler. I
On Mon, Oct 6, 2008 at 4:13 PM, Michael Van Canneyt
[EMAIL PROTECTED] 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
In our previous episode, Graeme Geldenhuys said:
On Mon, Oct 6, 2008 at 4:13 PM, Michael Van Canneyt
[EMAIL PROTECTED] 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
On Mon, 6 Oct 2008, Graeme Geldenhuys wrote:
On Mon, Oct 6, 2008 at 4:13 PM, Michael Van Canneyt
[EMAIL PROTECTED] 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