Below are the main services for writing in text files.
Declaration:
paFTextEol - Write end of line characters
to a text file
paFTextLine - Write a line in a text
file
paFTextString - Write a string in a text
file
Below are details about these functions:
OK := paFTextEol (FID)
Parameters:
FID : DINT; | File identifier returned by the file open function |
Description:
This function writes end of line characters in a text file open for writing.
OK := paFTextLine (FID, TEXT)
Parameters:
FID : DINT; | File identifier returned by the file open function |
TEXT : STRING; | Text to be written |
Description:
This function writes the string specified by the TEXT parameter plus end of line characters in a text file open for writing.
OK := paFTextEol (FID, TEXT)
Parameters:
FID : DINT; | File identifier returned by the file open function |
TEXT : STRING; | Text to be written |
Description:
This function writes the string specified by the TEXT parameter in a text file open for writing.