home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!seas.smu.edu!utacfd.uta.edu!rwsys!lerami!dalsil!titus
- From: titus@dallas.sil.org
- Newsgroups: comp.software-eng
- Subject: Re: C code Layout
- Message-ID: <1992Dec18.100545.74@dallas.sil.org>
- Date: 18 Dec 92 10:05:45 CST
- Organization: Summer Institute of Linguistics, Dallas Center
- Lines: 29
-
- I guess I might as well throw in my two-cents worth, too.
- My own style runs to:
-
- if (...)
- {
- statement;
- }
- else
- {
- statement;
- } /* End--<whatever was going on> */
-
- I tend to follow the general rule of an END comment for the
- }, no matter what the control structure was (i.e.--if, for,
- while, etc.).
-
- * * * * * * * * * * * * * * * * *
- Mike Titus, Programmer /\ Summer Institute
- SIL / \ of
- 7500 West Camp Wisdom Road /SIL \ Linguistics
- Dallas, Texas 75236-5699 --------
- U.S.A.
- Voice : (214) 709-2400 * Internet <titus@dallas.sil.org>
- Facsimile: (214) 709-3387 * UUCP ...utafil!txsil!dalsil!titus
- HAM radio (not on packet yet) KB4ABZ *
-
- "I can do everything through Him who gives me strength."
-
- Philippians 4:13 (NIV)
-