Dear all,

I am writing a program using for loop. The loop contains i which runs from
1:n. There is a feature I need to include here. That is, when i=n, i+1 would
be 1, not n+1. Basically the loop should run in a circular fashion. That
also means, if i=1, i-1=n.

Can anyone help me with this? How can I define it?

Thanks.

	[[alternative HTML version deleted]]

