CloseFile()

Syntax

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

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

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

Supported OS

All

File Index - CreateFile() ->