WRITEMODE Function (File)
Use this function before you useto set or test whether you can write to a file in later calls.
Use this variable to refer to the file.
This variable is used to set the mode that the file will be opened in when File.OPEN is called.
If true, the file is opened for reading and writing; otherwise, if false, the file is only opened for reading.