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 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 fin
ppadilcdx via fpc-pascal 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
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 :
program test;
{$mode objfpc}
{$modeswitch advancedrecords}
uses
fgl;
type
pair = record
x, y : integer;
cl
El 24/1/24 a les 20:31, ppadilcdx via fpc-pascal ha escrit:
Trying to use the fgl unit, specifically the TFPGMap. Below is a
simple program I'm trying to compile; it gives me two errors:
fgl.pp(1582,18) Error: Operator is not overloaded: "pair" < "pair"
fgl.pp(1584,23) Error: Operator is not
Trying to use the fgl unit, specifically the TFPGMap. Below is a
simple program I'm trying to compile; it gives me two errors:
fgl.pp(1582,18) Error: Operator is not overloaded: "pair" < "pair"
fgl.pp(1584,23) Error: Operator is not overloaded: "pair" > "pair"
program test;
{$mode objfpc}
u