How about: #define if(c) while(c) if(c) This effectively turns the 'if' into a 'while' while still allowing an 'else' clause without an error. It has the added advantage(?) of changing the meaning of any 'break' or 'continue' statements inside the 'then' or 'else' clauses of the 'if'. -- Bob Ammerman RAm Systems -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist