Braces are quite good, because otherwise you have the most famous of introductory compiler problems, the dangling else. if(something) if(something more) else // do stuff Which if does that else track with? Welll, depends on your grammar Thus, be smart kids, use braces, it's like not doing drugs. Take care, Sina -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Bill Gallik Sent: Monday, July 26, 2010 3:47 PM To: programmingblind@xxxxxxxxxxxxx Subject: Re: If statements inside switch statements? The "C" or "C++" language does not use a "then" clause in an "if" statement. The construct is as follows: int I; int j; if(I > j) { pseudo code processing; } else { pseudo code processing(); } ---- Holland's Person, Bill E-Mail: BillGallik@xxxxxxxxxxxxxx - The early bird may get the worm, but the second mouse gets the cheese! __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind