On Mon, 19 Nov 2007, Stephen Dickason wrote:
> >>> Well, the solution is very simple :
> >>>
> >>> TSortAlgorithm = (saBubble,saShell,saMerge,saRadix,saQuick);
> >>>
> >>> TStringList = Class(TStrings);
> >>> Property SortAlgorithm : TSortAlgorithm Read FSA Write FSA;
> >>> end;
> >>>
> >>
> >> I think it is a very good idea.
> >
> >I think so too.
> >
>
> TStringList = Class(TStrings);
> method SelectBestSortAlgorithm; // from count of strings/string type/
> end;
You beat me to it :-)
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives