yup my mistake :-) alok > -----Original Message----- > From: Bob Ammerman [SMTP:RAMMERMAN@PRODIGY.NET] > Sent: Friday, January 26, 2001 7:48 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [OT]: quick question on C > > ----- Original Message ----- > From: Alok Dubey > To: > Sent: Friday, January 26, 2001 6:54 AM > Subject: Re: [OT]: quick question on C > > > > for (pass=rx_str[ptr1+1]; ptr1 > > > i hnk it is a boolean of size and pass which is then compared to ptr1 > alok > > No, '&&' is lower in precedence than '<' so this is treated as: > > (ptr1 < size) && pass > > which in turn is treated as > > (ptr1 < size) && (pass != 0) > > Bob Ammerman > RAm Systems > (contract development of high performance, high function, low-level > software) > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads