On Tue, Aug 3, 2010 at 5:41 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
>
> On Fri, 30 Jul 2010, Luiz Americo Pereira Camara wrote:
> [snip]
>>
>> - Content and Contents properties are redundant. Also can lead to some
>> performance issues. See the code of DoGetContent:
>>
>>  If (Self.Content<>'') then
>>    Content.Write(Self.Content[1],Length(Self.Content));
>>
>> Content is computed (Contents items concatenated) three times.
>>
>> Don't be surprised if users do things like
>>
>> while  not ready do
>> Content := Content + 'xxx';
>
> I agree that the contents/content properties should be reduced to 1
> property. But this is a change which will break backwards compatibility.

So, start using the "deprecated" for Content property...


Regards,
MD
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to