CloseFile()


Closes a binary file.

Syntax

CloseFile(<cFile>) --> lResult

Arguments

<cFile> Name of the file to close. It should be the same name as that used when the file was opened using CreateFile() or OpenFile(), including path/drive information if applicable.

Returns

The function returns FALSE if an error occurred attempting to closet he file.

Description

This function closes a binary file created by CreateFile() or opened using OpenFile().

generate/mistake2.gifYou must always use this function to close a file created or opened by either of the above functions.

____________________________

Related Topics:

Business Function List

CreateFile()

OpenFile()



CAPITAL VISUAL BUILDER