This is where one would want generics... I am not sure if this is implemented in Object Pascal yet (but it is part of C++ and other languages). I remember it being on the wish list for Delphi for a long time, but don't know if it ever got implemented?
It would be nice if all Lazarus components could use a single fpc library for its sorting. Cheers Chavoux On 1 December 2012 19:23, Avishai <[email protected]> wrote: > "you could just write a single comparison function, > for the languages you have..." > > That is assuming you know in advance what language will be used. If > you don't, then what? I can send someone a '.po' but I can't change > the Sort method if it isn't already in code. What sort method should > I include for Japanese??? > > On Sat, Dec 1, 2012 at 7:21 PM, Benito van der Zander > <[email protected]> wrote: > > you could just write a single comparison function, > > for the languages you have... > > > > -- > Shalom, > Avishai > [email protected] > אבישי גוֹר > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
