How can I check for existing Datafiles?
Posted: Wed Jul 22, 2015 3:29 am
Hello,
i am trying to write a procedure which in the end should save the created time series into a rat data file. After running this procedure, the procedure will be started a second time and also these time series should be saved to a rat data file. The name for this file will be created as an option of the procedure. Is there any possibility that rats can check if there is already a datafile with the same name existing before calculating the time series? So that i can write an alertwindow which tells the user this the chosen filename is already used.
thanks a lot
i am trying to write a procedure which in the end should save the created time series into a rat data file. After running this procedure, the procedure will be started a second time and also these time series should be saved to a rat data file. The name for this file will be created as an option of the procedure. Is there any possibility that rats can check if there is already a datafile with the same name existing before calculating the time series? So that i can write an alertwindow which tells the user this the chosen filename is already used.
thanks a lot