- Delphi Cookbook
- Daniele Spinetti Daniele Teti
- 75字
- 2025-04-04 16:22:47
See also
- Here is a link to the Embarcadero documentation, which provides a detailed introduction to enumerable types: http://docwiki.embarcadero.com/RADStudio/en/Declarations_and_Statements#Iteration_Over_Containers_Using_For_statements.
- Don't start from zero! If you have to implement your own enumerable type, Delphi provides you with classes for a better start:
- TEnumerable: An abstract class that provides the DoGetEnumerator method to give your container enumerating functionality (http://docwiki.embarcadero.com/Libraries/en/System.Generics.Collections.TEnumerable)
- TEnumerator: An abstract class that provides the basic framework for enumerating a container (http://docwiki.embarcadero.com/Libraries/en/System.Generics.Collections.TEnumerator)