[fpc-pascal] Question on TFPGMap
Hairy Pixels
genericptr at gmail.com
Mon Jan 2 02:21:49 CET 2023
> On Jan 2, 2023, at 6:57 AM, ppadilcdx--- via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> program ex;
>
> uses fgl;
>
> var d: specialize TFPGMap<String,Integer>;
>
> begin
> decode.create;
> decode.add('X', 1);
>
> end.
This doesn’t make sense. It should be
d := specialize TFPGMap<String,Integer>.Create;
Right? What is “decode” and why aren’t you assigning it to anything?
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list