Re: [fpc-pascal] fgl unit bug in generic class TFPGMap

2014-10-27 Thread leledumbo
> But a map should not need any call to Sort, because it's the map's task to organize its data structure in such a way that Find does work as it should. TFPGMap seems to inherit its original sin: as long as it's a container that implements key-value based storage, then it's a map. And there it

Re: [fpc-pascal] fgl unit bug in generic class TFPGMap

2014-10-27 Thread Flávio Etrusco
On Mon, Oct 27, 2014 at 3:45 PM, Sven Barth wrote: > Am 26.10.2014 05:51, schrieb Flávio Etrusco: > >> On Fri, Oct 3, 2014 at 12:42 PM, Dennis Poon >> wrote: >>> >>> I think I found a bug in TFPGMap. >>> Hope some of you can verify it. >>> >>> The bug seems to relate to the binary search used in

Re: [fpc-pascal] fgl unit bug in generic class TFPGMap

2014-10-27 Thread Sven Barth
Am 26.10.2014 05:51, schrieb Flávio Etrusco: On Fri, Oct 3, 2014 at 12:42 PM, Dennis Poon wrote: I think I found a bug in TFPGMap. Hope some of you can verify it. The bug seems to relate to the binary search used in the method "FIND" but it does not occur for all string key values or at all ca

Re: [fpc-pascal] how do I play mp3 files with Free Pascal?

2014-10-27 Thread Marco van de Voort
In our previous episode, Dennis Poon said: > I can use the windows MMSystem unit but it only plays .wav file. > How do I play .mp3 file? I thought that using mcisendstring one could play all registered codecs. ___ fpc-pascal maillist - fpc-pascal@lists

Re: [fpc-pascal] how do I play mp3 files with Free Pascal?

2014-10-27 Thread Reinier Olislagers
On 27/10/2014 13:34, Dennis Poon wrote: > I can use the windows MMSystem unit but it only plays .wav file. > How do I play .mp3 file? Search the wiki for multimedia/audio libraries. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://list

[fpc-pascal] how do I play mp3 files with Free Pascal?

2014-10-27 Thread Dennis Poon
I can use the windows MMSystem unit but it only plays .wav file. How do I play .mp3 file? Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal