On Thu, 22 Oct 2009, Alexander Klenin wrote:
On Thu, Oct 22, 2009 at 01:44, Michael Van Canneyt
<mich...@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.
I think exactly the opposite, but I don't think the quotes are so relevant.
I have a preference for no quotes, but that is a matter of taste.
With quotes it would more resemble the "message" modifier...
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel