bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] Documentation


From: Aharon Robbins
Subject: Re: [bug-gawk] Documentation
Date: Fri, 12 Dec 2014 06:31:52 +0200
User-agent: Heirloom mailx 12.5 6/20/10

Hi Teri.

> Date: Tue, 9 Dec 2014 14:35:28 -0500
> From: Teri Price <address@hidden>
> To: address@hidden
> Subject: [bug-gawk] Documentation
>
> In section 9.1.1 of the documentation, there is an example that I think has
> a mistake.

Thanks for the mail. You are correct, the example has a problem.

The correct fix is what Andy suggested, replacing i++ with ++i; that
is clearly what I meant to write but I suspect that my longtime habit
of using i++ when coding tripped me up. :-)

I will push the fix the repo shortly.

Manuel, if you read the leading text before that example, you'll see
that it is making the point to avoid order-of-evaluation problems. :-)

Thanks!

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]