At 06:16 AM 7/14/2009, Harry H. Arends wrote: >Hi All, > >Using the following construction MPLAB it retursn a error: > >Ifdef __PIC685 > > INCLUDE "P16F685.INC" > >Else ifdef __PIC628 > > INCLUDE "P16F628.INC" > >Else > > INCLUDE "P16F84.INC" > >Endif I think that you are making the problem more complicated than necessary. Try this: ifdef __PIC685 include P16F685.INC endif ifdef __PIC628 include P16F628.INC endif ifdef __PIC84 include P16F84.INC endif Since only one processor will ever be defined at any one time, only a single include file will be included. Hope this helps! dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist