CloseFile()

Syntax

CloseFile(#File)

Description

Close the specified #File and it can't be used anymore for later use. Closing a file ensure the buffer will be put effictively on the disk. Note: when the program ends, PureBasic is smart enough to close all the opened files, so it's useless to do it.

Supported OS

Windows, AmigaOS, Linux

File - Index