Calling convention: CIP_WriteTextFile("FilePath": String, "Text": String): Boolean
Description: Creates or overwrites a text file and writes the supplied text followed by a line ending. File writes are serialized through the application's file-I/O critical section when it is initialized.
Parameters:
FilePath: full path of the file to create or overwrite.
Text: complete text content to write.
Returns: Boolean: True after a successful write; file errors raise an exception.
Availability: Default.
Example:
Saved := CIP_WriteTextFile("C:\\Temp\\status.txt", "Completed");