Re: Funny loop with post-increment.

Per Bolmstedt <[email protected]> Tue, 19 Feb 2008 03:27:05 -0500
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <LISTSERV%[email protected]>
On Tue, 19 Feb 2008 10:33:21 +0200, Brady Kelly <[email protected]>
wrote:

> The question was why was i _still_ zero on the second loop iteration,
> after it should have been post-incremented.

Since terminology seems to be important here: it *was* post-incremented. You
just didn't keep the post-incremented value.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com