its done thank you so much for your help. I was making a mistake in array index :)
In reply to Re^6: Structure number by AG87 in thread Structure number by AG87