Loops/Foreach: Difference between revisions

Content added Content deleted
m (→‎{{header|Delphi}}: More information on when feature was added)
Line 335: Line 335:


=={{header|Delphi}}==
=={{header|Delphi}}==
for..in loops were added in Delphi 2005.

Supports arrays (single, multidimensional, and dynamic), sets, strings, collections and any class or interface that implements GetEnumerator().
Supports arrays (single, multidimensional, and dynamic), sets, strings, collections and any class or interface that implements GetEnumerator().