RAD Studio (Common)
E2430: for-in statement cannot operate on collection type '%s'
A for-in statement can only operate on the following collection types:
Primitive types that the compiler recognizes, such as arrays, sets or strings
Types that implement IEnumerable
Types that implement the GetEnumerator pattern as documented in the Delphi Language Guide
Ensure that the specified type meets these requirements.
Declarations and Statements
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic?