The person who wrote this code wants to make sure that the loop won't run if pass=0. If pass is anything but 0, then it will run until ptrl is equal to or greater than size. -Adam Oluseyi Odeinde wrote: > > hello everyone > > i came across the following 'for' statement in a code: > > for (pass=rx_str[ptr1+1]; ptr1 > i'm curious about about the 'ptr1 have never come across a for loop layed out in this way. > 1. is this valid? > 2. if so, is it the same as saying 'ptr1 > Thanx in advance > Seyi > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu