[fpc-pascal] Elegant way to switch sort mechanism in TSortedCollection?
Jim Leonard
trixter at oldskool.org
Wed Mar 12 21:56:04 CET 2014
On 3/12/2014 2:30 PM, Philippe wrote:
> Type
> TMethod = ( method_type_1, method_type_2, method_type_3);
Ah, clever -- create a Compare that switches based on what I tell it to
do. I like that, but as far as I can tell there's no way to tell a
TSortedCollection to "resort" -- it's kept sorted only through inserts
and deletes.
--
Jim Leonard (trixter at oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my magic bag!
More information about the fpc-pascal
mailing list