[fpc-pascal] Need some advice

ppadilcdx ppadilcdx at gmail.com
Thu Jan 25 00:16:04 CET 2024


Oh I didn't notice the typo, duh.  Thanks!!

On 1/24/24 02:57PM, Sven Barth via fpc-pascal wrote:
> ppadilcdx via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am 
> Mi., 24. Jan. 2024, 22:07:
>
>     Thanks for that, now it compiles but it doesn't work, i.e. I added a
>     pair and value and then used trygetdata and it can't find it. So
>     perhaps
>     I'm missing something else :
>
>
> Your operator needs to establish a true order between the two passed 
> in values. Right now your operators only check a, but not b. That is 
> wrong and thus the map won't work correctly.
>
> Regards,
> Sven
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list