I'm not sure about the use of 'for', but the 'while' eqvivulent: i=0; while (i _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE