>STRTOFILE(ALLTRIM(STR(iCount)) + ': ' + TRANSFORM(oSeg.elements[iCount]) + CHR(13),"strConvertedData.txt",.T.) >Yes, it never would hurt to add chr(10). The output may be seen differently in different editors, but chr(13) + chr(10) will always work unless it's for e-mail body in ShellExecute.