Edit: ReRun 2.5.7.5 is available on my new host
http://milesaheadsoftware.org/
Another bug fix.
I think I got it this time. 
Ok, but I really think I got it this time.
I hope third time is a charm. I think what happens is on shutdown if there is an error because autoit3 did not finish saving the file, then on startup, reading the file into an array and accessing from the end down to the first entry goes below zero. In other words, there are not 3 lines in the file for each saved entry. Now the program does a Mod(filelines, 3) check for a 0 remainder and the For loop bottoms out at 3 instead of 1. This should prevent the possibility of accessing the array using a negative subscript.
I don't know why I didn't notice the loop ending at 1 earlier. Only reason I can think of is it must have been a count from 1 to array length originally and I just changed it to count down, leaving the 1 as the lowest subscript in the loop. The bright side is now it should just delete the data file if it is corrupt instead of trying to use it.
http://milesaheadsoftware.org/
Another bug fix.
I think I got it this time. 
Ok, but I really think I got it this time.

I hope third time is a charm. I think what happens is on shutdown if there is an error because autoit3 did not finish saving the file, then on startup, reading the file into an array and accessing from the end down to the first entry goes below zero. In other words, there are not 3 lines in the file for each saved entry. Now the program does a Mod(filelines, 3) check for a 0 remainder and the For loop bottoms out at 3 instead of 1. This should prevent the possibility of accessing the array using a negative subscript.
I don't know why I didn't notice the loop ending at 1 earlier. Only reason I can think of is it must have been a count from 1 to array length originally and I just changed it to count down, leaving the 1 as the lowest subscript in the loop. The bright side is now it should just delete the data file if it is corrupt instead of trying to use it.









