Google
 

Wednesday, August 25, 2004

New Diamondback for-loop Syntax

According to Danny Thorpe's lastest weblog entry, "in the next release of Delphi, the compiler will support a new kind of for loop, dubbed the "for..in" loop. A "for..in" loop works just like a regular Delphi for loop except that you don't have to deal with a loop index variable.". This sounds a lot like the C# foreach feature. And the best thing is: it will even be available in the Win32 Delphi compiler as well. Great news, and great article (as always, Danny).

No comments: