First let me state my problem clearly:
Ex: Let\'s pretend this is my array, (the elements don\'t matter as in my actual code they vary):
array=(jim
this post had been revised and moved to its own post as a more in-depth tutorial how to remove an array element correctly in a for loop