CloseFile()

语法

CloseFile(#File)
概要
Close the specified file.

参数

#File The file to close. If #PB_All is specified, all the remaining files are closed.

返回值

无.

Remarks

Once the file is closed, it may not be used anymore. Closing a file ensures the buffer will effectively be put to the disk.

All remaining opened files are automatically closed when the program ends.

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

参阅

CreateFile(), OpenFile(), ReadFile()

已支持操作系统

所有

File Index - CreateFile() ->