[fpc-devel] defaultformatsettings

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Nov 30 09:37:17 CET 2010



On Tue, 30 Nov 2010, Marco van de Voort wrote:

> In our previous episode, Michael Van Canneyt said:
>>>
>>> Seems Delphi XE has deprecated all separate variables, and after ten years
>>> did the same as FPC, use an absolute trick. And of course they named it
>>> differently (FPC: defaultformatsettings Delphi: formatsettings)
>>
>> Oh well, this is an easy one, for once:
>>
>> var
>>    formatsettings : TXYZ; absolute defaultformatsettings;
>
> That + deprecate the old separate ones and updated user changes trunk?  I'll
> do this today when I have time.
>
> Then the only question is if we should deprecate defaultformatsettings. I
> decided to not do this today.  Even if we do this, a lot of parameters for
> the overloaded "formatsettings" routines need to be renamed (to
> aformatsettings?) for this first to avoid accidental clashes.

I would never deprecate it. It was our solution, and there is no 
need to deprecate it. The other one is 'for delphi compatibility'.

Michael.



More information about the fpc-devel mailing list