| 
 PureBytes Links 
Trading Reference Links 
 | 
Hello,
While using AB realtime I want to write the values of certain 
variables to a file.  the afl code is the following:
FilePath="Logfile.txt";
FileHandle=fopen(FilePath,"a");
fputs(Text,FileHandle);
fclose(FileHandle);
Each time a new tickprice is received the text is written to the 
logfile but is concatenated into one string. The text is about 20 
characters. I would like to add a carriage return linefeed so each 
text appears on a separate line, making it possible to import the 
file in excel. I have tried to include the ascii values of CR and 
LF  adding "^M^J" at the end of the text, but these 
controlcharacters are treated as normal text.
Can anyone help me to solve this problem.    
thanks
cees
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 
 |