Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-16-2010, 10:10 AM
MikePeterson MikePeterson is online now
Registered User
 
Join Date: 09-26-2005
Posts: 10
Write File - not inserting carriage return

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
Reply With Quote
  #2  
Old 06-16-2010, 04:09 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Add a newline to the end of the text that is being inserted (by pressing Enter).
http://www.kinook.com/VisBuildPro/Ma...zekeyboard.htm
Reply With Quote
  #3  
Old 06-17-2010, 08:15 AM
MikePeterson MikePeterson is online now
Registered User
 
Join Date: 09-26-2005
Posts: 10
Such an obvious solution, but obviously one I hadn't thought of. Thanks for the quick response.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:03 AM.


Copyright © 1999-2023 Kinook Software, Inc.