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

AVEVA™ Plant SCADA

FileClose

  • Last UpdatedJul 18, 2023
  • 1 minute read

Closes a file. All data written to the file is flushed to disk when the file is closed, and the file number becomes invalid.

Syntax

FileClose(File)

File:

The file number.

Return Value

0 (zero) if successful, otherwise an error is returned.

FileOpen

Example

File=FileOpen("C:\Data\Report.Txt","r");
..
! Do file operations.
..
! Close the file.
FileClose(File);

See Also

File Functions

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