I have a txt file with data like this:
A B C D E ...
1 546 456 89 456
2 6546 654 5646 6546
3 444 565 789 789
for example
I would like to be able to read the file and be able to store one whole line in variables and then compare with the next line's numbers and then write the biggest line to a file (that part is easy)...I really need a procedure that can read each line one by one until end of file and store them into a variable...
I know that is possible but i've always hated working with files...The rest is pretty easy, but i've never manage to work with files...
I would really like some help please
A B C D E ...
1 546 456 89 456
2 6546 654 5646 6546
3 444 565 789 789
for example
I would like to be able to read the file and be able to store one whole line in variables and then compare with the next line's numbers and then write the biggest line to a file (that part is easy)...I really need a procedure that can read each line one by one until end of file and store them into a variable...
I know that is possible but i've always hated working with files...The rest is pretty easy, but i've never manage to work with files...
I would really like some help please
Comment