Recent content by gcc2012
-
G
Fortran Fortran77 end-of-file error reading formatted input
Thanks AlephZero. I sorted out the syntax error, it was due to the variable type declaration. But, now I have another problem. It does not execute the do loop at all. I print out 'npoints' and the value is 0. What would be wrong? No error message in this case. gcc2012- gcc2012
- Post #5
- Forum: Programming and Computer Science
-
G
Fortran Fortran77 end-of-file error reading formatted input
Thanks AlephZero, I tried that way and it gives syntax error. How would you read the data file organized as follows: - sequential formatted - six columns of real numbers - number of rows are not always known My immediate goal is to get the data read and each column would form an individual...- gcc2012
- Post #3
- Forum: Programming and Computer Science
-
G
Fortran Fortran77 end-of-file error reading formatted input
Hi, I am new to the forum, apologies if I break any rule posting a new thread. I could not find the answer in similar threads came up after searching the forum. I want to read a formatted file of six column data. Reading works OK, but I want to put it into a do loop with the repeat as many as...- gcc2012
- Thread
- Error Fortran77 Input Reading
- Replies: 5
- Forum: Programming and Computer Science