home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!haven.umd.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!nuchat!texhrc!njr
- From: njr@texhrc.uucp (Nick J. Rees)
- Subject: Re: The Correct Way To Write C if-Statements
- Message-ID: <1992Nov7.165603.14863@texhrc.uucp>
- Organization: Texaco EPTD
- References: <140742@lll-winken.LLNL.GOV>
- Date: Sat, 7 Nov 1992 16:56:03 GMT
- Lines: 18
-
- Very drole!
-
- But what does the author have to say about nested if statements?
- Should you place the 'if' on the same line as the preceding 'else'
- like it says in the Bible to prevent CRAP from marching off into
- oblivion? [New Testament p.23].
-
- How about when do you use 'if ... else' and when do you use
- 'switch'? How should 'switch' statements be recorded?
-
- I raise the above questions for completeness more than anything
- else.
-
- --
- ===============================Nick Rees===============================
- Voice: (713) 954-6298 Email: reesnj@texaco.com
- mail: Texaco, Inc., 3901 Briarpark, Houston, TX 77042
- ========================================================================
-