Hi,
I am having some trouble understanding what exactly a line in fortran is referencing.
The line in question is:
The data file I am reading in looks something like this:
I know 77 is the file unit number. And I know END=10 is a goto statement if for some reason the file read fails. I also know the first parameter will assign the value of 1 to the array nvar in slot NN.
Primarily, what I don't understand is what the latter part of the read statement means in parentheses. Any help explaining what the syntax means would be greatly appreciated.
-PK
I am having some trouble understanding what exactly a line in fortran is referencing.
The line in question is:
Code:
READ(77,*,END=10) NVAR(NN),(VAR(NN,I),I=1,nVAR(NN))
Code:
1 1
0.5852977040 0.6642564540 0.2807423770
18.3411
14.2399
79.7194
Primarily, what I don't understand is what the latter part of the read statement means in parentheses. Any help explaining what the syntax means would be greatly appreciated.
-PK