PDA

View Full Version : Write File - not inserting carriage return


MikePeterson
06-16-2010, 10:10 AM
I'm attempting to use the Write File function (with "Append to file" checked) to add build information to a comma delimited csv file (i.e. string1,string2,string3). Successive calls to Write File do append to the file but they do not include carriage returns at the end of each line.

In other words, the resulting file looks like this:

string1,string2,string3string1,string2,string3

instead of what I was hoping for:

string1,string2,string3
string1,string2,string3

Is this expected append behavior? If so, how do I manually insert a carriage return? I've tried looking through the forums and tried several things, several of which end up with a \r showing up as a character string but not an executed action (i.e. string1,string2,string3\rstring1,string2,string3\r ).

Any thoughts would be greatly appreciated.

Thanks.

Mike

kinook
06-16-2010, 04:09 PM
Add a newline to the end of the text that is being inserted (by pressing Enter).
http://www.kinook.com/VisBuildPro/Manual/customizekeyboard.htm

MikePeterson
06-17-2010, 08:15 AM
Such an obvious solution, but obviously one I hadn't thought of. Thanks for the quick response.