Wouter van Ooijen wrote: >> Can while {} have an else {} clause? > > OK! So it should have been > > #define while if > #define else > > Could that still produce compiler errors? You probably meant #define if while #define else With #define while if there is no define for the else clause necessary. I think the latter version is more evil. It causes more subtle errors; the first one will very likely hang in the first if clause the code reaches. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist