I want to read a line in a file that includes three real numbers without moving the pointer. So I wrote: (TXT is a variable representing my file, which has a value of 80)
read(TXT, *, ADVANCE='NO') (numbers(i),i=1,3)
However, I got an error message:
"error # 6568: this use of the ADVANCE, SIZE, or EOR specifier is not allowed."
So how should I write to make it right?
Thanks.
source share