[fpc-devel] for-in-index loop

Michael Schnell mschnell at lumino.de
Fri Jan 25 10:35:06 CET 2013


On 01/23/2013 12:54 AM, vrt277 wrote:
> Hi FPC team,
>
> There is good proposed extension of for-in loop on fpc wiki: get 
> enumerator Position if available 
> <http://wiki.freepascal.org/for-in_loop#Proposed_extensions>. From my 
> point of view it's essential part of iterators. Especially for data 
> structures which store pairs of key and value associated with key.
>
Is this (among other purposes) supposed to allow for working with UTF-8 
strings in a per-character-index manner ?

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130125/12a921c6/attachment.html>


More information about the fpc-devel mailing list