Re: Get count of members in record
Zitat:
|
Re: Get count of members in record
an example would be more than welcome
thanks |
Re: Get count of members in record
Replace 'RECORD' by 'CLASS', publish or public your record fields as properties and you're almost through. You'll also be able to add some serialisation/deserialisation routines in case you need them.
|
Re: Get count of members in record
what about this approach
Delphi-Quellcode:
type
TProperties = TDictionary<string,string>; TInstances = TDictionary<string, string>; TClases = TDictionary<integer, TInstances>; Clases := TClases.Create; Clases.AddOrSetValue(0, TInstances.Create); Clases[0].AddOrSetValue('1sdfgsdfgs', 'sdfgsdfgsdfgsdfgsdfgsdfgsdfg2'); |
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:03 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz