Thanks everyone. I feel very foolish. My only excuse is that its quite a while since I have been near a uP.
GraemeJ.