NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned int CloseFile ( byte  handle)
inline

Close a file.

Close the file associated with the specified file handle. The loader result code is returned as the value of the function call. The handle parameter must be a constant or a variable.

Parameters
handleThe file handle.
Returns
The function call result. See Loader module error codes.
Examples:
ex_CloseFile.nxc, ex_file_system.nxc, ex_findfirstfile.nxc, and ex_findnextfile.nxc.