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