CloseFile()

Syntax

CloseFile(#File)
Description
Close the specified #File. Once the file is closed, it may not be used anymore. Closing a file ensures the buffer will effectively be put to the disk.

Note: all remaining opened files are automatically closed when the program ends.

For an example see the ReadFile() or the CreateFile() functions.

Supported OS

All

File Index - CreateFile() ->