>I am writing a program that using the fwrite command to store data into txt file but fwrite doesn't has the carried return to end the text. I know I can use fput but the thing in clipper doesn' has the fput command. Is that any other way to use the fwrite with the carried return?
>
Add an explicit carriage return/line feed pair (CHR(13) + CHR(10)) to the end of the expression being written.
=FWRITE(nFH,"This is a sentence with a CR/LF at the end" + CHR(13) + CHR(10))