# WRITELINE()

Syntax:

Then: bytes = WRITELINE(handle,source,length)
Then: bytes = WRITELINE(handle,source)

"handle" is the file handle returned by OPEN() or CREATE().
"source" is the data to write.
"length" is the number of bytes to write.

"bytes" is the number of bytes written, including newline

If length is not specified, the length of the source field is used.

A newline character is appended to the information written.

Return value
The number of bytes written, including the newline.

Note: The file must be opened in text mode. A newline character is appended to the information written.

Version Ref: 4.5 (not included in filePro Lite)

Description:

Writes a line of text to a file.