Hi Rob

Thanks for that and yes, it  is very different!

For me, Walter's solution has one big advantage: I can understand it.....

This is no criticism (cos I don't even understand how this works!) but 
isn't it a mighty complicated solution?  Are there advantages to it over 
Walter's? What is the significance of 313 for the InstanceCount constant?

Thanks again for your help

Regards
Dave



Rob Kennedy wrote:

>Walter Prins wrote:
>  
>
>>Dave Sellers wrote:
>>    
>>
>>>I'm using TObjectList.Sort successfully but, I suspect, not particularly
>>>elegantly. In fact, I have a suspicion I'm doing something dumb..
>>>      
>>>
>>I've gone ahead and knocked up an extended TObjectList class, to support 
>>object method comparison methods.
>>    
>>
>
>I promised yesterday I'd post something when I got home, but my evening 
>was a little busier than I'd expected, so I guess Walter beat me to it. 
>Here's a link to my way of solving the "sorting with methods" problem.
>
>http://www.cs.wisc.edu/~rkennedy/q&a-files/ListDemo.zip
>
>It's very different from Walter's solution.
>
>  
>



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to