There are two IF directives and only one ENDIF. As far as I know MPASM does not know ELIFDEF so you have no other choice than go for Dwayne's suggestion. Tamas On Tue, Jul 14, 2009 at 1:16 PM, 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 > > 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