DupeString

----- Original Message ----- From: "Micha Nelissen" <[EMAIL PROTECTED]>
To: "FPC developers' list" <[email protected]>
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  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to