Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

FileWriteLn

  • Last UpdatedJul 18, 2023
  • 1 minute read

Writes a string to a file, followed by a newline character. The string is written at the current file position. The maximum number of characters allowed is 255.

Syntax

FileWriteLn(File, String)

File:

The file number.

String:

The string to write.

Return Value

The number of characters written (including the carriage return and newline characters).

FileOpen, FileClose, FileWrite

Example

! Write a line to the file.
FileWriteLn(File,"Line of file data");

See Also

File Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in