Yeah, I agree. Some might think me mad, but my code includes lines like if(c!='\0') Makes it more obvious what you're trying to do. And I _trust_ that any half-decent optimiser will produce code that is no less efficient. -- \/ o\ Paul Crowley aipdc at uk.ac.ed.castle /\__/ "Trust me, I know what I'm doing" - Sledge Hammer