On Mon, 29 Sep 2003 16:53:45 -0700, andre abelian wrote: >Olin, > >That is fine do not help me but let me ask you this >If(count==28) >{ > >} >what is the different between code below and above >if(count==28) // if count register = 28 >{ > >} > >to me the code itself says pretty much every thing >if count = 28 specially I only have one count register. >I have 10 if statements why should I type same thing >Next to it. > There is no point in putting in comments in that fasion. It would be much more useful to indicate what a count of 28 means. if (count == 28) // end of line 1 { } or perhaps if (count == END_LINE1) { } where the constant END_LINE1 is #define'd to 28 elsewhere. In other words, don't tell (presumably) competent C programmers what the C code does, they can get that from the code itself. Tell them (and yourself) why it's doing it. Regards, Bob -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads