Quote Originally Posted by mohit
Very small logical error, this will work perfectly
It will work, but you're now writing to the read-only array! That's why I shoved a third array into my last post.