in reply to Re^2: arrays: shifting in while loop
in thread arrays: shifting in while loop

which looks to be very useful indeed.

Its so useful, its part of the Basic debugging checklist Tutorial.