Henrik,

I did have the .inc file line commented out (That is the first thing I usually do when working with a new pic). I tried
"__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ" indented and not indented and
"@__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ" indented and not indented. No combinations worked.

I went back to the include file and replaced the existing commented out line with "__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ" and it worked.
Very strange that I couldn't get it to work in the PicBasic source, but at least it is working. I don't think I will be using 10F222 chips much anyway.

Thanks for you help.

Jim

Quote Originally Posted by HenrikOlsson View Post
Have you commented out what's in the MPASM .inc file or is that where you're changing the CONFIG?

__CONFIG is a directive and MPASM found it in column one where it expects to see labels, try indenting it.

/Henrik.