Re: Compare two text files line by line
Hey DataMiser, well the problem is that it actually adds the elasped time which is in textbox 3 and for some odd reason it adds the second's time in textbox 2 even though it clearly only saves the text in textbox3. This is why it would read:
3, 45, 5, 47, 49, 7
But sometimes it doesn't read all the second's time in textbox2 and the order is off because the 7 would be before the 49. I'm not sure why this would even happen! :(
Re: Compare two text files line by line
This is the actual text file created by the user's steps:
Code:
2 : 247
6 : 247
36 : 247
6 : 247
36 : 247
7 : 247
37 : 247
8 : 251
38 : 251
8 : 251
38 : 251
9 : 251
39 : 251
10 : 243
10 : 243
40 : 247
10 : 247
40 : 247
11 : 254
41 : 254
11 : 247
41 : 247
12 : 247
42 : 247
12 : 251
42 : 251
17 : 254
47 : 254
48 : 251
19 : 251
21 : 247
51 : 247
21 : 247
51 : 247
Re: Compare two text files line by line
I think you need to post the code, I can not tell what may be going on from the portions you have posted but somewhere either there is a line that is assigning data to the text box that you do not want or writing something to the file that should not be written, To find these things the correct procedure is to step through each line of code in debug mode and notice the contents of any related variables.
Somewhere you are telling it to write what you are getting just have to find it. If you post the code I'll take a quick look and see if anything jumps out at me.