View Single Post
  #261 (permalink)  
Old 12-06-2006, 02:50 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Question FileFlush?

Quote:
Originally Posted by junglelion
completed

used this

string var1=TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECOND S);

handle=FileOpen("signals.txt", FILE_READ|FILE_WRITE, ';');
if(handle>0)
{
FileSeek(handle, 0, SEEK_END);
FileWrite(handle, var1, alert_msg);
FileClose(handle);
}
Did it work for you? Without FileFlush??
Anyway, give this script a look!
http://www.xpworx.com/AppendToFile.htm
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Reply With Quote