On Jan 30, 2008 1:51 PM, Richard Kennedy <richard at rsk.demon.co.uk> wrote: > Might it be easier to understand if we get the index first, then reset > the flags ? Yes, that looks better. I just didn't understand whether the flags should be reset or preserved with the old code. Tormod