+1 888 340 6572

FileClose

From MultiCharts

Closes the handle of the specified file, which allows for opening it from a different application for writing.

Note

When using FileAppend the specified string expression is appended to the end of the specified ASCII file without deleting the existing content. The file is not released on each calculation for faster data processing and operation. While the current MultiCharts instance is running the file is open to all of its threads for writing.

One can call the FileClose command if that is required to edit the file from an external application, or to finish the current operations with the specified file.

Example

Close the handle of the previously opened for writing file located in C:\Temp\Test.txt

FileClose("C:\Temp\Test.txt");