• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: For loop shenanigans.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: For loop shenanigans.
      • From: Richard Clark <email@hidden>
  • Prev by Date: Re: linking w/ correct libcrypto version?
  • Next by Date: Re: linking w/ correct libcrypto version?
  • Previous by thread: Re: For loop shenanigans.
  • Next by thread: Re: For loop shenanigans.
  • Index(es):
    • Date
    • Thread