sdhyok: > What is your best way for my example? > (I hope it is not for loop.) It's a for loop. I disagree with your assessment that it's a problem, so I'll understand if you disagree with my solution. Andrew dalke at dalkescientific.com