Current Page: NeXtMidas Training Working with Files The AUX List The Read and Write AUX
| The Write AUX: The Write AUX is a single AUX name identifying the AUX to which files are normally written. Unlike the Read AUX which can have multiple entries, the Write AUX only has a single entry. This is initially set to AUX `1`, but can be changed as required. Important Note: When writing to a file, if the file is found in one of the directories on the Read AUX list, it will be overwritten with the new data. If no file with a matching name is found a new file is created in the Write AUX. This behavior matches X-Midas. The Read AUX: The Read AUX is a list of AUX names (separated by a pipe ("`|`") character) indicating the AUXs where files are normally read from. When a file is specified by name only, NeXtMidas searches for the file in each of the AUXs identified on the Read AUX list in the order in which it appears on the Read AUX list (left-to-right).
Don't Make This Mistake:
It is a common mistake for first time Midas users to expect output files to be created in the AUX specified on the Write AUX. If a file is found on the Read AUX that matches an output file name, the Write AUX is ignored and the existing file on the Read AUX is overwritten by the new file.