The TextFile_WriteText() function writes a line to a text file opened by the TextFile_Open() function without including a line feed or carriage return. In contrast, the TextFile_WriteDOS() function includes a line feed and carriage return.
TextFile_WriteText(file_ID, text)
• file_ID – An integer returned by TextFile_Open() that’s used to uniquely identify this file.
• text – A string or text value containing the text that’s written to the text file.
A long integer indicating the number of characters written to the text file.
You can write a line to a text file, enforcing a line feed and carriage return at the end of each line, using TextFile_WriteDOS().
You can also write a line using the TextFile_WriteLine() function. However, this function writes a line to a text file differently, depending upon the platform you’re using. A carriage return and a line feed will follow each line (a DOS format).