Command file.close

The command file.close is used to close an open file.

Parameters

  1. handle [integer]
    Handle of the opened file.

Example


In the example above the file test.txt has been downloaded using the command downloadfile.

The file test.txt has been opened for reading (r) by the command file.open and closed by command file.close.