Paul B,

Thanks - I agree. Time[3] would give me 3 elements 0,1,2.
I'll make the changes.

I've returned to electronics after a gap of 25 years and find my
main difficulty is with the easier bits that I think I already know
and don't bother to look them up - hence this sort of mistake.

Regards

Bill Legge