Re: For loop shenanigans.
Re: For loop shenanigans.
- Subject: Re: For loop shenanigans.
- From: Rich Siegel <email@hidden>
- Date: Thu, 4 Dec 2003 21:47:24 -0500
On 12/5/03 at 12:17 AM, Jose Commins <email@hidden> wrote:
> for(i = 0; i < 9; i += 3);
> {
> ... blah...
> }
>
> i is equal to 3 on entry to the loop, which it shouldn't be.
>
> Bug in Xcode, or GCC?
Short between seat and keyboard? Note semicolon after the 'for'
statement.
R.
--
Rich Siegel Bare Bones Software, Inc.
<email@hidden> <http://www.barebones.com/>
Someday I'll look back on all this and laugh... until they sedate me.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.