I cannot stress enough that Alan is right. I highly suspect that this problem is caused by a missing semicolon somewhere. Can you post the entire file or send it to my personal email as a ZIP file? Take a look right before the line "void delay_1_msec (void)" to see if there is a missing semi-colon. This will often cause a whole cascade of puzzling errors. Sean On Thu, Feb 25, 2010 at 12:19 PM, Alan B. Pearce wrote: >>missing basic type; int assumed >> >>";" expected > > This often means you are missing an ';' earlier in the program. > -- > 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