[fpc-pascal] Generics - how to rewrite TOjectDictionary

Sven Barth pascaldragon at googlemail.com
Mon Apr 8 07:56:18 CEST 2013


Am 07.04.2013 23:09 schrieb "Dimitri Smits" <smitco at telenet.be>:
>
> Hi,
>
> Ever tried TStringList with Strings[] and Objects[] properties?

The speciality of TObjectDirectory is that it frees the objects when an
entry is deleted (similar to TObjectList).
But I now remember that we added an OwnsObjects property to TStringList
some time ago...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130408/b50fb1f3/attachment.html>


More information about the fpc-pascal mailing list