Re: [fpc-pascal] TFPDataHashTable: how to iterate?

2013-03-21 Thread Xiangrong Fang
I was told that it will be possible in 2.7... If you like, take a look at my TTreap class, which can be used as a hash table: https://github.com/xrfang/fpcollection/blob/master/src/units/treap.pas 2013/3/21 S. Fisher > Is there any way to iterate over a TFPDataHashTable ? > > _

[fpc-pascal] TFPDataHashTable: how to iterate?

2013-03-21 Thread S. Fisher
Is there any way to iterate over a TFPDataHashTable ? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TFPDataHashTable

2011-06-10 Thread Claudio Lo Gaffo
El 10/06/2011 05:06 p.m., Joseph Montanez escribió: I am tring to understand how to use TFPDataHashTable and upon using it I just manage to crash the application. program hashdemo; uses contnrs; var HTable: TFPDataHashTable; Test: String; node: THTCustomNode; begin Test := 'terr';

Re: [fpc-pascal] TFPDataHashTable

2011-06-10 Thread Michael Van Canneyt
On Fri, 10 Jun 2011, Joseph Montanez wrote: I am tring to understand how to use TFPDataHashTable and upon using it I just manage to crash the application. program hashdemo; uses contnrs; var HTable: TFPDataHashTable; Test: String; node: THTCustomNode; begin Test := 'terr'; HTable.creat

[fpc-pascal] TFPDataHashTable

2011-06-10 Thread Joseph Montanez
I am tring to understand how to use TFPDataHashTable and upon using it I just manage to crash the application. program hashdemo; uses contnrs; var HTable: TFPDataHashTable; Test: String; node: THTCustomNode; begin Test := 'terr'; HTable.create; HTable.add('test', @Test); { <-- Crashe