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

2008-09-07 Thread Inoussa OUEDRAOGO
2008/9/7 Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > On 9/7/08, Inoussa OUEDRAOGO <[EMAIL PROTECTED]> wrote: >> property MaxStringLength read FMaxStringLength write >> FMaxStringLength default 250; > > I went for this, but named it MaxRecordLength. even better. -- Inoussa O. _

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

2008-09-07 Thread Felipe Monteiro de Carvalho
On 9/7/08, Inoussa OUEDRAOGO <[EMAIL PROTECTED]> wrote: > property MaxStringLength read FMaxStringLength write > FMaxStringLength default 250; I went for this, but named it MaxRecordLength. Always good to hear other oppinions =) Commited to trunk. I don't know if there are plans for a 2.2.4,

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

2008-09-07 Thread Inoussa OUEDRAOGO
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 s

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

2008-09-07 Thread Micha Nelissen
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. Micha

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

2008-09-07 Thread Felipe Monteiro de Carvalho
Hello, Sdf / Fixed datasets have a constant for the maximum line size, but this one is too small for me, so I changed the constant into a field in the class so it can be customized. I tested and it works for me. I just thougth someone may have a better idea, so I am showing the patch here for rev