Hi Mike, The first _ was on the first column so I shifted it progressively to the right, compiling with each step, but to no avail. The reason for the different terms is because I am using an older version of PICC than the one you are using - I've got 7.87PL3 and I'm guessing you are lucky enough to have V8PL4! I've just fixed it! The cause was that I was including pic16f6x.h which didn't have the __CONFIG macro defined - this is in pic.h. When I included pic.h (and having already defined the processor at the top of my code), it pulled in the pic16f6x.h for me. Thus I now have my __config macro and all the normal declarations and everything compiles again as it should. The example in the manual is misleading in that it shows the inclusion of the device include file but says nothing about the pic.h needing to be included also. The error callout didn't help because it was trying to indicate that I had an error in a function declaration! Thanks to everyone for their help, now I can get back to seeing if I can successfully program the chip again! John *************************************************************** John.Walshe@inpactmicro.com INPACT MICROELECTRONICS (Irl) Ltd 21A Pouladuff Road, Cork, Ireland, Tel: +353 21 4318296 Fax: +353 21 4318980 WWW.INPACTMICRO.COM *************************************************************** -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body