CreateOutputFile ( FilePath )

FileSystem

Arguments FilePath - the fully qualified path to a file which is created and opened for output.
Description Creates and return an Output File object. This object can be used for print() and println() output commands. It should be closed by using the CloseFile() method or by the close() method of the File object.
Remarks var of = FileSystem.CreateOutputFile("c:/test.txt");
of.println("Created by JavaFoil");
of.print(12);
of.print("\t");  // a TAB character
of.println(33.56);
FileSystem.CloseFile( of );  // or of.close();