in reply to Re^2: Help with a loop
in thread Help with a loop

As you're maintaining the code, a rewrite is probably a good idea - there really is nothing like code that's not quite correct to give you all manner of headaches down the line (despite working now)