FileClose

From MultiCharts
Revision as of 16:58, 14 October 2019 by Abeloglazova (talk | contribs) (→‎Note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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");