Melanie,

Thanks very much for taking the time to reply in full. I gone back over by code, taking care of the CON/VAR business and all is now working well.

Here in the SW of West Australia it's a sweltering 30 degrees (according to my DS1830/PIC 16F84A) - I'm off for a swim in the dam.

Regards

Bill Legge