Re: [fpc-pascal] THashedStringList vs TFPHashTable

2006-09-27 Thread Dean Zobec
Graeme Geldenhuys ha scritto: > Thanks to all that replied. The string that is going to be stored in > the List (with associated object) is a GUID string, so is very random > by nature. Would this have any negative affects in the hash table? > > I will try it out anyway, I can always swap the in

Re: [fpc-pascal] fpdoc xml files with special characters

2006-09-27 Thread Graeme Geldenhuys
On 27/09/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > This is all great for HTML output, but what will happen with LaTeX > output. Will it display the ampersand, or the escaped ampersand > (&)? I guess this all depends on the XMLReader unit and if it > reverts the & back to the & sign c

Re: [fpc-pascal] fpdoc xml files with special characters

2006-09-27 Thread Michael Van Canneyt
On Wed, 27 Sep 2006, Graeme Geldenhuys wrote: > Hi, > > How is fpdoc's xml files supposed to handle special characters? For > example, I tried to type the '&' character, and fpdoc complained. I > then escaped the ampersand with & which was fine. > > This is all great for HTML output, but wha

[fpc-pascal] fpdoc xml files with special characters

2006-09-27 Thread Graeme Geldenhuys
Hi, How is fpdoc's xml files supposed to handle special characters? For example, I tried to type the '&' character, and fpdoc complained. I then escaped the ampersand with & which was fine. This is all great for HTML output, but what will happen with LaTeX output. Will it display the ampersan

Re: [fpc-pascal] THashedStringList vs TFPHashTable

2006-09-27 Thread Graeme Geldenhuys
Thanks to all that replied. The string that is going to be stored in the List (with associated object) is a GUID string, so is very random by nature. Would this have any negative affects in the hash table? I will try it out anyway, I can always swap the internal list out if needed. What I am c

Re: [fpc-pascal] THashedStringList vs TFPHashTable

2006-09-27 Thread Dean Zobec
Graeme Geldenhuys ha scritto: > Hi, > > Is TFPHashTable the same as Delphi's THashedStringList? > > I am looking for a List class that can hold large amounts of objects > with a ID string associated for quick lookups. > > Regards, > - Graeme - Yes, similar to a THashedStringList, but with a sp

RE: [fpc-pascal] THashedStringList vs TFPHashTable

2006-09-27 Thread Lee, John
Not in cutils.pas - found them in compiler/cclasses.pas. J > > > At 16:00 27-9-2006, you wrote: > >Hi, > > > >Is TFPHashTable the same as Delphi's THashedStringList? > > > >I am looking for a List class that can hold large amounts of objects > >with a ID string associated for quick lookups. >

Re: [fpc-pascal] THashedStringList vs TFPHashTable

2006-09-27 Thread Peter Vreman
At 16:00 27-9-2006, you wrote: Hi, Is TFPHashTable the same as Delphi's THashedStringList? I am looking for a List class that can hold large amounts of objects with a ID string associated for quick lookups. For the compiler i created a TFPHashList and TFPHashObjectList as similair to TFPList

[fpc-pascal] TDatabase Docs?

2006-09-27 Thread Jeremy Cowgar
Does anyone know where I can read about the TDatabase classes? I know I can look in the source, but I was hoping for an API ref or something. Thanks, Jeremy ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mail

Re: [fpc-pascal] TDatabase, PostgreSQL and Mac OS X?

2006-09-27 Thread Leonardo M. Ram
Well, congratulations. I've experienced that same problem trying to use the ZeosLib PostGresql protocol on Linux. It try to use libpq.so and i had libpq-x.x.so, so i created a smart link to it. --- Jeremy Cowgar <[EMAIL PROTECTED]> wrote: > Leonardo, Wow. That worked. I did a symlink from libpq

Re: [fpc-pascal] THashedStringList vs TFPHashTable

2006-09-27 Thread Cesar Romero
Graeme, I dont know if is the same, but I know that the operations in THashedStringList is sloow, too much unecessary operations, I use TStringHash class for that. for interfaces: Look the unit JazzClass.pas in http://jazz.liws.com.br/download/jazz_a7.zip for objects: http://blogs.liw

[fpc-pascal] THashedStringList vs TFPHashTable

2006-09-27 Thread Graeme Geldenhuys
Hi, Is TFPHashTable the same as Delphi's THashedStringList? I am looking for a List class that can hold large amounts of objects with a ID string associated for quick lookups. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] TDatabase, PostgreSQL and Mac OS X?

2006-09-27 Thread Jeremy Cowgar
Leonardo, Wow. That worked. I did a symlink from libpq.dylib to libpq.so and it works now. Is there a proper way to do this on mac os x anyone? Thanks Lenardo! Jeremy On Sep 27, 2006, at 7:55 AM, Leonardo M. Ramé wrote: I don't know too much about OS X, but can't you simply rename libpq.

Re: [fpc-pascal] TDatabase, PostgreSQL and Mac OS X?

2006-09-27 Thread Vincent Snijders
Jeremy Cowgar schreef: Leonardo, Wow. That worked. I did a symlink from libpq.dylib to libpq.so and it works now. Is there a proper way to do this on mac os x anyone? Thanks Lenardo! Maybe apply this patch and recompile: Index: base/postgres/dllistdyn.pp ==

Re: [fpc-pascal] TDatabase, PostgreSQL and Mac OS X?

2006-09-27 Thread Leonardo M. Ram
I don't know too much about OS X, but can't you simply rename libpq.dylib to libpq.so? --- Jeremy Cowgar <[EMAIL PROTECTED]> wrote: > I have the following simple program that does not seem to be working. > Connectivity using postgres unit works fine. Here's the error and > then the program w