Re: For loop shenanigans.
Re: For loop shenanigans.
- Subject: Re: For loop shenanigans.
- From: Matt Gough <email@hidden>
- Date: Fri, 05 Dec 2003 08:41:36 +0000
>> 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
Ignoring the fact that the code is probably not as intended, surely i should
be 9 by the time it gets to ...blah... instead of 3.
Matt
_______________________________________________
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.