• 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: 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.

References: 
 >For loop shenanigans. (From: Jose Commins <email@hidden>)

  • Prev by Date: For loop shenanigans.
  • Next by Date: Re: Build completes after touch
  • Previous by thread: For loop shenanigans.
  • Next by thread: Re: For loop shenanigans.
  • Index(es):
    • Date
    • Thread