>  >|At line 336 of file scor2prt.for (unit = 10, file = '3v01.pmx')
>  >|Fortran runtime error: Sequential READ or WRITE not allowed after EOF
>  >|marker, possibly use REWIND or BACKSPACE
>  >|***
>
> The Fortran line in question is
>
> read(10,'(a)',end=999)line
>
> Could someone familiar with Fortran explain what the
> "end=999" is for and why this code could fail as described
> in the error message?

It means approximately this (in pseudo-Python pseudocode):

try: read(10,'(a)')line
catch(EOF): goto 999

999 is 'continue' so it goes on and reads again, which it is not
allowed to do. My guess is that the 999 belongs on the following
instruction. I.e. lines 743–744 of scor2prt.for should not be

999   continue
      close(10)

but

      continue
999      close(10)

-------------------------------
TeX-music@tug.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://tug.org/mailman/listinfo/tex-music

Reply via email to