How to skip a data line in fortran [duplicate]
问题 This question already has answers here : Skip a line from text file in Fortran90 (3 answers) Closed 3 years ago . enter image description here I have this data file and want to read this data without line 1,2,3,4,5 program example real data(15,9) OPEN ( unit=10, file='filename' ) do i = 1, 15 READ (10, *) (data(i,j), j=1,10) enddo print *, data(4,1), data(4,2), data(4,3) stop end this is my fortran code. how can i change this code 回答1: Looking something like this? input file: data line1 line2