* create a textfile x1=PADR("abc",30)+PADL("1234",15)+PADR("abc",30)+PADL("1234",15)+PADR("abc",30)+PADL("1234",15) X2="" FOR i = 1 TO 100 X2 = X2 + X1+CHR(13)+CHR(10) ENDFOR STRTOFILE(X2,"inputfile.txt") *MODIFY FILE inputfile.txt * now read it back liHandle=FOPEN("inputfile.txt") FOR I=1 TO 10 x5=FGETS(liHandle) ?X5 * now parse the line and sve the stuff somewhere..... *.... ENDFORhope this gets you started