Recent content by chaim

  1. C

    Modifying iteration of DO-loop dynamically

    I would like to change the start integer for a DO-loop each time the DO runs as a result of the calculations of the previous iteration. For example the first time the DO runs it should start at 1, the second time at 33, the third time at 60. The numerical value for the end of the loop stays the...
  2. C

    How to Fix Runtime File Reading Error in Fortran Code?

    Mark44, Yes after thourough checking of the program you are correct. I was trying to read more records than existed in the input file. Also all your remarks concerning my syntax problems will be corrected. Just one question that you may be able to help me with. How can I make my arrays VI(8788)...
  3. C

    How to Fix Runtime File Reading Error in Fortran Code?

    Mark44, I made the changes that you suggested and I still get the same error. I would like to add that I get this error with different programs. The odd thing is that "sometimes" the program works and then stops working. I think that the external data file is in some way being corrupted, but I...
  4. C

    How to Fix Runtime File Reading Error in Fortran Code?

    Yes, Mark44, I appreciate your comment, but the loop has nothing to do with the runtime abend. I still need to know the reason for the abend. Especially what is the meaning of the first line: fmt: end of file
  5. C

    How to Fix Runtime File Reading Error in Fortran Code?

    I frequently get the same runtime error when using g77. Here is the error message: fmt: end of file apparent state: unit 16 named vi1.src last format: (F10.6) lately reading sequential formatted external IO abnormal program termination I have added to my code the REWIND statement...
Back
Top