MT4智能交易编程教程-FileFlush函数
在输入/输出文件缓冲区中编辑所有保留数据到磁盘。 void FileFlush(
int file_handle // 文件句柄
); |
参量 file_handle [in] 通过 FileOpen()返回文件说明符。 返回值 没有返回值。 注释 When writing to a file, the data may be actually found there only after some time. To save the data in the file instantly, use FileFlush() function. If the function is not used, part of the data that has not been stored in the disk yet, will be forcibly written there only when the file is closed using FileClose() function. The function should be used when written data is of a certain value. It should be kept in mind that frequent function call may affect the program operation speed. 函数FileFlush ()必须在阅读和编辑文件操作之间调用。
|