[fpc-devel] New feature discussion: for-in loop

Alexander Klenin klenin at gmail.com
Wed Oct 21 16:49:04 CEST 2009


On Thu, Oct 22, 2009 at 01:44, Michael Van Canneyt
<michael at freepascal.org> wrote:
> What about
>
>  function StepNext: Boolean; iterator 'movenext';
>  property TheCurrentValue: Integer; iterator 'current';

You beat me by two minutes ;-)

>  function StepNext: Boolean; iterator nextvalue;
>  property TheCurrentValue: Integer; iterator currentvalue;

I do not care much, but putting names in quotes may slightly simplify
parser, IMO.

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list