openOutput

openOutput(fName: String) updating;

The openOutput method of the File class opens the file specified in the fName parameter for output. This method is equivalent to setting the file name, setting the mode to Mode_Output, and then opening the file.