MT4读取文件函数
void ReadFile(){
int cmd = 0;
string str = \"\";
int handle=FileOpen(\"TradeCopy.csv\",FILE_READ|FILE_CSV);
if (handle>0)
{
while(FileIsEnding(handle)==false)
{
str = FileReadString(handle);
if (str!=\"\")
{
lines = str;
cmd ++;
}
}
FileClose(handle);
}
else
Print(\"Chyba pri otvarani : \",GetLastError());
} 天啊. 我想要`~ 就为赚分嘛 这贴子你会收藏吗 请发一个试试,谢谢!RongYuanQiong@163.com 。。。 呵呵 都没人想我~~ 回复看看 感谢分享 下了的确不错
页:
[1]
2