Re: [fpc-devel] TStrings.Assign doesn't copy Delimiter

2006-02-23 Thread Geno Roupsky
Well this is the way borland implemented it from the begining. Although it makes sense to copy the delimiter too there is a lot of code out there and some may be broken if this is changed. Geno Roupsky2006/2/22, Vincent Snijders [EMAIL PROTECTED]: Hi,The program below exits with an error. I

[fpc-devel] TStrings.Assign doesn't copy Delimiter

2006-02-22 Thread Vincent Snijders
Hi, The program below exits with an error. I would expect the Delimiter to be copied too, when a TStrings is assigned. Is this a bug? Vincent {$mode objfpc}{$H+} uses Classes; var s1, s2: TStrings; begin s1 := TStringList.Create; s1.Delimiter := ';'; s2 := TStringList.Create;