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.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to