>>> Hi All, >>> >>> Using the following construction MPLAB it retursn a error: Returns *what* error ? And what if you add a second Endif like : Ifdef __PIC685 INCLUDE "P16F685.INC" Else ifdef __PIC628 INCLUDE "P16F628.INC" Else INCLUDE "P16F84.INC" Endif Endif I also splitted the "Else ifdef" on two lines to better show what I think is going on. Not that there might be better solutions but it's always nice to know what does and what doesn't work... Jan-Erik. >>> >>> Ifdef __PIC685 >>> >>> INCLUDE "P16F685.INC" >>> >>> Else ifdef __PIC628 >>> >>> INCLUDE "P16F628.INC" >>> >>> Else >>> >>> INCLUDE "P16F84.INC" >>> >>> Endif >>> >>> Is this construction not possible, i cant find anything in the >>> helpile, or is it possible using something else. >>> >>> Harry >>> >>> -- >>> http://www.piclist.com PIC/SX FAQ & list archive View/change your >>> membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> >> >> -- >> http://www.mcuhobby.com >> -- >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist