Hi E,hi,
Just change the 'cr' to some other label, you are using a later version of Oshonsoft than the one I use.
E
The 18FX431 PICs don't like [ ALL DIGITAL ] I think that [ SSPCON.SSPEN = 1 'Configure SCK,SD0,SDI,/SS ] satisfies it.
With [ CR ] changed to [ CRTN ] and [ ALL DIGITAL ] commented out, it compiles. Is this ok?
C