Difference between revisions of "FileClose"
Jump to navigation
Jump to search
Abeloglazova (talk | contribs) |
Abeloglazova (talk | contribs) (→Note) |
||
Line 3: | Line 3: | ||
== Note == | == 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. | 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. | 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 == | == Example == | ||
Close the handle of the previously opened for writing file located in C:\Temp\Test.txt | Close the handle of the previously opened for writing file located in C:\Temp\Test.txt |
Latest revision as of 16:58, 14 October 2019
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");