OK Guys,

Thanks for that, Now fixed.

MicroCode studio does say ProBasic 2.45, but it found the old PBC compiler in C:\PBC rather than the new one in c:\PBP!

Used find manually to find it!

Thanks for the help.

Now I just have to squeeze the code into a 16F84A!

Regards

PaulB