>> Besides I'm not convinced you can come up with a legitimate >> case where the 1 line version is of any real advantage. I think I've always found the: while ( (c=getchar(file)) > 0) { /* do stuff with c */ } slightly clearer than the versions that separate the assignment from the check... BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist