• 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: logical OR
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: logical OR


  • Subject: Re: logical OR
  • From: Braden McDaniel <email@hidden>
  • Date: Tue, 02 Sep 2008 15:43:39 -0400

Micah Sharp wrote:
I have a variable named "or" but XCode 3.1 is interpreting it as a logical or ("||") and I'm getting compile errors. Anyway to turn that behaviour off? I feel like I remember somewhere it was an option, but I could be thinking about Codewarrior.

"or" is a C++ keyword. Don't use it as a variable name for the same reason you don't name variables "if".


--
Braden McDaniel                      e-mail: <email@hidden>
<http://endoframe.com>               Jabber: <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >logical OR (From: "Micah Sharp" <email@hidden>)

  • Prev by Date: Re: logical OR
  • Next by Date: Re: logical OR
  • Previous by thread: Re: logical OR
  • Next by thread: Can't get all targets to build in a Release configuration
  • Index(es):
    • Date
    • Thread