|
|
|||||||
When I use the CHR(10) or the CHR(10) to write some lines to a txt file to then open it in Notepad I get strange characters in place of a carriage return. Does anybody know why? Or does anybody have a solution? |
||||||||
|
|
|||||||
I get exactl ythe same thjing, yet it doesn;'t seem to be consistent. Some lines have it, yet others don't. It's got me confused, but I've just been manually deleting the garbage as I currently edit the file manually anyway after its produced. ------------------ |
||||||||
|
|
|||||||
Try with Chr(10)+Chr(13). For example: WriteLine(1,"This is a sample text"+Chr(10)+Chr(13)) WriteLine(1,"This is a second line of text"+Chr(10)+Chr(13)) Regards, |