[fpc-pascal] Generics - how to rewrite TOjectDictionary
smitco at telenet.be
Sun Apr 7 23:08:50 CEST 2013
Ever tried TStringList with Strings and Objects properties?
----- Oorspronkelijk e-mail -----
> Van: "Marius" <marius at lmspathologie.nl>
> Aan: fpc-pascal at lists.freepascal.org
> Verzonden: Zondag 7 april 2013 18:48:02
> Onderwerp: [fpc-pascal] Generics - how to rewrite TOjectDictionary
> It was many years ago i tried fpc/lazarus so i'm not up to speed with
> eveything. At this moment I'm trying to rewrite a piece of software
> delphi to fpc/laz and i'm having trouble rewriting generics and in
> the TObjectDictionary. Below shows how it is implemented in delphi.
> Is there a native fpc solution for this and if there is not what are
> alternatives to rewrite this? Or would it even be better to avoid
> in general?
> TMyDic = TObjectDictionary <string, TMyObject>;
> I would welcome any tips to solve this
> I'm using fpc 2.7.1, laz 1.1(svn 4/7/13)
> View this message in context:
> Sent from the Free Pascal - General mailing list archive at
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal