Saving with dedit(new)
Hi,
I'm having a problem with dedit(new) in Rats 8.0. This command works fine for me in Rats 7.2. Here is an example of the code I'm using to create a new file:
The first two lines seem to run fine, but when I run "save", a dialog box opens prompting me to open a file. The dialog box is titled "File for DEDIT". It takes me to the Default Directory that I set in Preferences.
The subdirectories are correct. If I browse using the dialog box for the relevant file, it has already been created and is empty, which seems to be a good thing. However, if I use the dialog box to open this file, I get an error message: ## IO27. The file is not in RATS format. This does not seem unreasonable, since the file is empty. I just don't understand why RATS wants me to open a file before it saves the file that I dedit-ed. This may be an issue with writing to a network drive, but any ideas as to why it is able to create the file but can't write to it? Also, it wrote to the drive fine with Rats 7.2.
Thanks!
Chrissy
I'm having a problem with dedit(new) in Rats 8.0. This command works fine for me in Rats 7.2. Here is an example of the code I'm using to create a new file:
- Code: Select all
dedit(new) O:\folder1\folder2\filename.rat
store var1 var2
save
The first two lines seem to run fine, but when I run "save", a dialog box opens prompting me to open a file. The dialog box is titled "File for DEDIT". It takes me to the Default Directory that I set in Preferences.
The subdirectories are correct. If I browse using the dialog box for the relevant file, it has already been created and is empty, which seems to be a good thing. However, if I use the dialog box to open this file, I get an error message: ## IO27. The file is not in RATS format. This does not seem unreasonable, since the file is empty. I just don't understand why RATS wants me to open a file before it saves the file that I dedit-ed. This may be an issue with writing to a network drive, but any ideas as to why it is able to create the file but can't write to it? Also, it wrote to the drive fine with Rats 7.2.
Thanks!
Chrissy