Text file writing services

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:

paFTextEol - Write end of line characters in a text file

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.

other functions

paFTextLine - Write a line in a text file

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.

other functions

paFTextString - Write a string in a text file

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.

other functions