CloseFile

Top  Previous  Next

 

CloseFile

 

Syntax

CloseFile([in] FileID);

 

Description

To close an opened file.

 

Parameters

       FileID

               The file index to close.

 

Return

       1 = success

       0 = failed

       -1 = FSCommands cannot be found

 

Example

 

FSCommand("ClosenFile", "0");

 

This will close a file assigned at file index 0.