in reply to Re: Re: Out of memory help
in thread Out of memory help
I apologize for any misunderstandings... I took out the debugging statements when I posted (but one got through). The code most certainly doesn't get by the while loop. I had it printing the values of the time stamp and it stops at the corresponding value of the last time stamp in the file I tested it on. (by the way, the $_variable I reference from time to time is just a quick hack I threw in ... it's an option to help in debugging somewhat, and somewhat as a test for a future feature. What it allows is for the user to specify that certain data has already been processed and is in a specified file (or the default one), so don't bother doing it again. I process certain files in this routine and get both data for an XY scatter plot, and also calculate the averages, so I threw that in.
And, $PART3 should not be set to 0 once I get it set. There are three button clicks in the file (represented by a 0 -- a 5 if none). I want the data from the last button click onward -- there are several little 'complications' with this reasoning, but it doesn't really affect anything here, and is a result of the data mainly.