• 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: Declarations near usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Declarations near usage


  • Subject: Re: Declarations near usage
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 17 Oct 2002 12:28:54 +0200

On Wednesday, October 16, 2002, at 10:26 , j o a r wrote:

With GCC3 and Jaguar you can now declare your variables anywhere

No you can't. Unless I am gravely mistaken, C99 (like C++) allows you to declare wherever a _command_ might be; there are though quite reasonable cases (like the "for" of mine) when you would want them in place of an _expression_.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: Declarations near usage (From: j o a r <email@hidden>)

  • Prev by Date: Re: empty string, or: totally clearing the NSTextStorage
  • Next by Date: Re: A CFStringRef that throws EXC_BAD_ACCESS
  • Previous by thread: Re: Declarations near usage
  • Next by thread: Re: Declarations near usage
  • Index(es):
    • Date
    • Thread