[fpc-devel] [patch] - fpcUnit testreport.pp

Darius Blaszijk dhkblaszyk at zeelandnet.nl
Thu Oct 26 14:34:19 CEST 2006


DupeString

----- Original Message ----- 
From: "Micha Nelissen" <micha at neli.hopto.org>
To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
Sent: Thursday, October 26, 2006 1:47 PM
Subject: Re: [fpc-devel] [patch] - fpcUnit testreport.pp


> Graeme Geldenhuys wrote:
>> +begin
>> +  sString := '';
>> +  for i := 1 to pIntLen do
>> +    sString := sString + ' ';
>> +  Result := sString;
>> +end;
> 
> I object to the inefficiency of this implementation. Isn't there a 
> routine in system to generate a string of X characters ?
> 
> Micha
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel



More information about the fpc-devel mailing list