I am using Delphi XE3. When searching helps for TObjectList, I find it appears in two units:
http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.Contnrs.TObjectList
and
http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.Generics.Collections.TObjectList
In such a case, which unit should I include to use the class? Also what is the different between TObjectList and TList, I just see TObjectList = class(TList) in the first document so TObjectList is identical to TList?
Thanks
TObjectList = class(TList)
means thatTObjectList
inherits fromTList
, not that it is identical. Closer inspection of the documentation is needed. – David Heffernan