I have got an array from which some items are going to be removed; but some loops are still running on them, so I want to simply skip the places where I remove my objects
I know that the syntax for(i in array) should do this because it iterates on the index, but how should I remove my items then ? Because when i do array[4] = null, my for just doesn't care and goes on trying to use the value at 4.
I also tried to check if !null but without success... thank you