Re: [fpc-pascal] sorting and merging array of records

2012-01-11 Thread waldo kitty
On 1/11/2012 20:35, Tomas Hajny wrote: On 11 Jan 12, at 17:46, waldo kitty wrote: . . 1. right now the compare is working on the catalog number (TTLERec.catnbr) and with duplicates:=FALSE there are no duplicates... however, i need to be able to choose which record to keep when there is a dup

Re: [fpc-pascal] sorting and merging array of records

2012-01-11 Thread Tomas Hajny
On 11 Jan 12, at 17:46, waldo kitty wrote: . . > 1. right now the compare is working on the catalog number (TTLERec.catnbr) > and > with duplicates:=FALSE there are no duplicates... however, i need to be able > to > choose which record to keep when there is a duplicate catnbr but the epoch >

Re: [fpc-pascal] sorting and merging array of records

2012-01-11 Thread waldo kitty
On 1/11/2012 11:11, Sven Barth wrote: Am 11.01.2012 09:27, schrieb waldo kitty: i tried this but could only get so far and then not further so i backed up and punted the ball... now i'm trying this with a sortedcollection and while i can apparently insert items, i haven't figured out how to acce

Re: [fpc-pascal] How to get path to current theme icons on linux?

2012-01-11 Thread Krzysztof
This is exactly what I needed! Thanks to all 2012/1/11 cobines : > Take a look at the unit here: > > http://doublecmd.svn.sourceforge.net/viewvc/doublecmd/trunk/src/platform/unix/uunixicontheme.pas > -- > cobines > ___ > fpc-pascal maillist  -  fpc-pasca

Re: [fpc-pascal] Redis client for FPC

2012-01-11 Thread ik
On Wed, Jan 11, 2012 at 21:36, Daniel Gaspary wrote: > On Wed, Jan 11, 2012 at 15:32, ik wrote: > > Here is a new request for the new year/version of FPC :) > > > > Additional way beside dataset to control databases, even if they are not > > table/structure based. > > A Redis specialized TDataso

Re: [fpc-pascal] Redis client for FPC

2012-01-11 Thread Daniel Gaspary
On Wed, Jan 11, 2012 at 15:32, ik wrote: > Here is a new request for the new year/version of FPC :) > > Additional way beside dataset to control databases, even if they are not > table/structure based. A Redis specialized TDatasource Descendant Could work. Is there any problem with this aproach?

Re: [fpc-pascal] How to get path to current theme icons on linux?

2012-01-11 Thread cobines
Take a look at the unit here: http://doublecmd.svn.sourceforge.net/viewvc/doublecmd/trunk/src/platform/unix/uunixicontheme.pas -- cobines ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Redis client for FPC

2012-01-11 Thread ik
On Wed, Jan 11, 2012 at 18:54, wrote: > > > On Wed, 11 Jan 2012, ik wrote: > > Hello, >> >> Does anyone know of a Redis client for FPC (and open source) ? >> >> Another question: >> If I need to implement it, how would you do it regarding dataset ? >> I'm not sure that it is suited for the task,

Re: [fpc-pascal] Redis client for FPC

2012-01-11 Thread michael . vancanneyt
On Wed, 11 Jan 2012, ik wrote: Hello, Does anyone know of a Redis client for FPC (and open source) ? Another question: If I need to implement it, how would you do it regarding dataset ? I'm not sure that it is suited for the task, what do you think ? No. Dataset relies on a tabular format

[fpc-pascal] Redis client for FPC

2012-01-11 Thread ik
Hello, Does anyone know of a Redis client for FPC (and open source) ? Another question: If I need to implement it, how would you do it regarding dataset ? I'm not sure that it is suited for the task, what do you think ? Thanks, Ido ___ fpc-pascal maill

Re: [fpc-pascal] sorting and merging array of records

2012-01-11 Thread Sven Barth
Am 11.01.2012 09:27, schrieb waldo kitty: On 1/10/2012 16:41, Sven Barth wrote: On 10.01.2012 22:02, waldo kitty wrote: TList? hummm... better? smaller? faster? easier to use? small memory footprint? i'm game to try things as long as it works in the end ;) TList is basically an array wrapped

Re: [fpc-pascal] sorting and merging array of records

2012-01-11 Thread waldo kitty
On 1/10/2012 16:41, Sven Barth wrote: On 10.01.2012 22:02, waldo kitty wrote: TList? hummm... better? smaller? faster? easier to use? small memory footprint? i'm game to try things as long as it works in the end ;) TList is basically an array wrapped in a class (though I would suggest TFPList