Re: [fpc-pascal] TSortedCollection dupes ordering

2014-02-05 Thread Frederic Da Vitoria
2014-02-05 waldo kitty wkitt...@windstream.net: On 2/4/2014 5:16 PM, Frederic Da Vitoria wrote: 2014-02-04 waldo kitty wkitt...@windstream.net mailto: wkitt...@windstream.net: [...] i kinda thought about that earlier when i was digging thru the code... IIRC, insert was

Re: [fpc-pascal] SVN revisions and builds

2014-02-05 Thread LacaK
Current trunk versions of Lazarus should be able to build using a current FPC development version. But on ftp://ftp.freepascal.org/pub/lazarus/snapshots/ are only old versions for FPC 2.7.1, 2.6.3 So I guess, that there must be any problem ... L.

Re: [fpc-pascal] Nested generic parameters

2014-02-05 Thread Constantine Yannakopoulos
On Tue, Feb 4, 2014 at 2:47 PM, Sven Barth pascaldra...@googlemail.comwrote: Please report as a bug, so that it is not forgotten (and attach a simple example that compiles in Delphi). Done: http://bugs.freepascal.org/view.php?id=25678 Thanks again. --Constantine

Re: [fpc-pascal] TSortedCollection dupes ordering

2014-02-05 Thread waldo kitty
On 2/5/2014 3:57 AM, Frederic Da Vitoria wrote: [...] Once again I did not test this, but it seems to me that if Compare returned -1 instead of 0, any duplicate would be inserted after because it would never be considered as equal to any other. But since you still want your collection to be able

Re: [fpc-pascal] TSortedCollection dupes ordering

2014-02-05 Thread Jim Leonard
On 2/5/2014 5:24 PM, waldo kitty wrote: i'm unsure what to do or how to handle this so that there is a secondary (sub) sorting order so that the main key is the master sort and then a secondary key is used when duplicates are allowed... You put both key comparisons in the same .Compare

Re: [fpc-pascal] TSQLQuery UniDirectional and SaveToStream

2014-02-05 Thread LacaK
Dimitrios Chr. Ioannidis wrote / napĂ­sal(a): Hi all, i will appreciate a little help / advice / anything for the following problem i'm having. I need to use the xmldatapacketreader to transfer datasets between free pascal and delphi. The problem i'm having is that i can't use