[fpc-devel] TStrings Add(array of string)

Michael Van Canneyt michael at freepascal.org
Sun Apr 1 11:10:11 CEST 2012



On Sat, 31 Mar 2012, Andrew Haines wrote:

> I was thinking about TStrings possibly having an overloaded function Add
> or AddStrings where the argument is an array of string?
>
> procedure Add(strs: array of string); overload;
> or
> procedure AddStrings(strs: array of string); overload;
>

Better implement the second. 
AddStrings already exists for a TStrings, it is more similar in functionality.

Michael.



More information about the fpc-devel mailing list