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

Re: CriticalAlert


  • Subject: Re: CriticalAlert
  • From: Donald Brown <email@hidden>
  • Date: Thu, 20 Dec 2001 15:15:29 -0600

And, of course, make sure you enable warnings, and READ THEM. CodeWarrior
will warn when you use if (x=y) (and a warning is appropriate, it is legal
syntax, it's equivalent to x=y; if (x)), haven't encountered this with PB
yet.

Donald

on 12/20/01 2:52 PM, Steve Bird at email@hidden wrote:

> I came to the conclusion that anyone (me included) who couldn't remember
> to use double equals, wouldn't remember to put the constant first, either.
> It was a struggle to remember to put the constant first. It was a
> lesser struggle to check the double-equals than to re-arrange the
> arguments to the comparison operator.
> And now it's second nature.

--
Donald Brown
email@hidden
http://www.eamontales.com

We have met the enemy and he is us - Pogo


  • Follow-Ups:
    • Re: CriticalAlert
      • From: Ondra Cada <email@hidden>
    • Re: CriticalAlert
      • From: David Remahl <email@hidden>
References: 
 >Re: CriticalAlert (From: Steve Bird <email@hidden>)

  • Prev by Date: Re: CriticalAlert
  • Next by Date: Re: CriticalAlert
  • Previous by thread: Re: CriticalAlert
  • Next by thread: Re: CriticalAlert
  • Index(es):
    • Date
    • Thread