• 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: David Rowland <email@hidden>
  • Date: Tue, 2 Sep 2008 12:38:47 -0700


On Sep 2, 2008, at 12:15 PM, 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.

I strongly suggest you change the name of the variable to something more suggestive. "or" is small and common, easily overlooked or misinterpreted when reading code.
_______________________________________________
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: Re: logical OR
  • Index(es):
    • Date
    • Thread