File.close() (Method)

Close the file that was opened with the File.open() method.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Boolean primitive
JavaScript syntax:NESmyFile.close()

This method closes a file that was opened for reading, writing or appending. It returns a Boolean value to indicate the success or failure of the closure.

See also:File.open()