[fpc-devel] Sdf / Fixed maximum line length flexibilization

Inoussa OUEDRAOGO inoussa12 at gmail.com
Sun Sep 7 18:15:30 CEST 2008


Hi

> Felipe Monteiro de Carvalho wrote:
>>
>>     function StoreToBuf(Source: String): String; virtual;
>>   public
>> +    MAXSTRLEN: Integer;
>
> If you don't object, this is a bit ugly to my taste. Why not 'FMaxStrLen',
> and have a property MaxStrLen: read FMaxStrLen ? Looks better to me.

I second the property declaration with a little modification to make
it more readable :

  property MaxStringLength read FMaxStringLength write
FMaxStringLength default 250;


-- 
Inoussa O.



More information about the fpc-devel mailing list