company logo

File :: close - Close file handle

The function closes the referenced file object, but not the the file handle. The File handle object is still referenced by the handle. In order to release the referenced file handle object, an empty file handle may be assigned (assign(File())).

Implementation details

File  :: close (  )

The function closes the file. When no file has been opened, the function has no effect.