In-Reply-To: Claudio, > but a newer guy here does this: > > if (blah){ > code... > code... > } > > It seems this is what is being taught now. The first way makes it so > clear what code goes with what set of braces that the second way really > bugs me! Why is it used?? I'm sure there are folks on the list that > use it that could tell me. > My guess would be to save that one line - but, in that case, why not put > the ending brace on the same line as the last line of code? If you put the ending brace on the same line as the last line of code then there is nothing directly under the if to mark the end of the section controlled by the if. Brian Gregory. briang@cix.compulink.co.uk -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads