Okay, I have to put aside this compulsion to gratuitously modernize this code and go do something more productive.
Naked 'for' loops are a trigger for me, doubly so when their bodies modify the container being iterated over...
#olddawgs #newtrix