Joe S

Thanks very much, your tip worked

FLAGS=0 Did the trick.

I've looked up the note on FLAGS=0 in the LCDOUT command page of the PBP manual and don't understand how it works?

1. If I cycle the power to the PIC, without 'FLAGS=0' all is OK.
2. If I re-set I get the missing lines problem unless the statement 'FLAGS=0' is included.

I thought the PIC executed the same code on re-set as on power-up?

Whatever, you help is much appreciated.

Regards Bill Legge