home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / c / 16197 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  970 b 

  1. Xref: sparky comp.lang.c:16197 talk.bizarre:37343
  2. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!netnews.upenn.edu!mjd
  3. From: mjd@saul.cis.upenn.edu ("[*] Angel of Sickness")
  4. Newsgroups: comp.lang.c,talk.bizarre
  5. Subject: Re: The Correct Way To Write C if-Statements
  6. Message-ID: <MJD.92Nov9010259@saul.cis.upenn.edu>
  7. Date: 9 Nov 92 06:02:59 GMT
  8. References: <140742@lll-winken.LLNL.GOV> <1992Nov7.165603.14863@texhrc.uucp>
  9. Sender: news@netnews.upenn.edu
  10. Followup-To: misc.misc
  11. Organization: Eaters of Wisdom
  12. Lines: 9
  13. Nntp-Posting-Host: saul.cis.upenn.edu
  14. In-reply-to: njr@texhrc.uucp's message of 7 Nov 92 16:56:03 GMT
  15.  
  16. In article <1992Nov7.165603.14863@texhrc.uucp> njr@texhrc.uucp (Nick J. Rees) writes:
  17. >   How about when do you use 'if ... else' and when do you use
  18. >   'switch'? 
  19.  
  20. That's easy.  You use `switch' whenever possible, and never otherwise.
  21. --
  22.  
  23.                 And for to se, and eek for to be seye
  24. Mark-Jason Dominus                       mjd@central.cis.upenn.edu 
  25.