nag_open_file (x04acc) Example Program Results Attempting to write to and read from file x04acc_example.txt: - correctly wrote line: "NAG nag_open_file (x04acc) example program" to file and read it back.