I have a file with the .dat extension that i'll call data.dat. i need to read each line in from the data.dat file into a string. for instance, i have data.dat with this in it
m4*TA012340>03/05/12:04:36:44
m4*TA012341>03/05/12:04:36:44
m4*TA012342>03/05/12:04:36:44
m4*TA012343>03/05/12:04:36:45
after the first line is converted into a string, i will break up this string so the parts are read into a table. after i read this first line in, I need that line to be deleted. Then I will continue with reading in the next line in data.dat file and so on until the data.dat file is empty. I've been working with the FileToStr() function but can't get it to work right. any suggestions? thanks.
Erik
m4*TA012340>03/05/12:04:36:44
m4*TA012341>03/05/12:04:36:44
m4*TA012342>03/05/12:04:36:44
m4*TA012343>03/05/12:04:36:45
after the first line is converted into a string, i will break up this string so the parts are read into a table. after i read this first line in, I need that line to be deleted. Then I will continue with reading in the next line in data.dat file and so on until the data.dat file is empty. I've been working with the FileToStr() function but can't get it to work right. any suggestions? thanks.
Erik