Line feed in text file
Posted: Sat Jan 05, 2008 7:12 pm
Hi folks, I'm an italian customer and I apologize for non correct english language.
I have a little problem with the LF (line feed character).
I must write an application (for Mac Os and Windows) who generate a text data (such a geometrical data).
At the end of each line of the data there must be a return character, while at the beginning of each line must be a LF (line feed) character numToChar(10).
I can not enter the numToChar(10) in the my file:
open file "ATest.txt"
write numToChar(10) & space & Xdata & space & Ydata & return to file "ATest.txt"
close file "ATest.txt"
Also if I use the CRLF function, only a return char is present enter the file (not the line feed).
When I open this file with a text editor application (Text-Edit Plus), no line feed character is present.
Can you help?
I have a little problem with the LF (line feed character).
I must write an application (for Mac Os and Windows) who generate a text data (such a geometrical data).
At the end of each line of the data there must be a return character, while at the beginning of each line must be a LF (line feed) character numToChar(10).
I can not enter the numToChar(10) in the my file:
open file "ATest.txt"
write numToChar(10) & space & Xdata & space & Ydata & return to file "ATest.txt"
close file "ATest.txt"
Also if I use the CRLF function, only a return char is present enter the file (not the line feed).
When I open this file with a text editor application (Text-Edit Plus), no line feed character is present.
Can you help?