Recent content by tch2
-
T
Fortran FORTRAN 90 Unexpected Statement Function Statement in Nested Do Loop
Thanks! I have now found that my read statement is going to cause some trouble too! Looks like I am reading in year and emissions each as a one dimensional array, and then trying to re-write them as a scalar entity?- tch2
- Post #5
- Forum: Programming and Computer Science
-
T
Fortran FORTRAN 90 Unexpected Statement Function Statement in Nested Do Loop
Thanks! I have now found that my read statement is going to cause some trouble too! Looks like I am reading in year and emissions each as a one dimensional array, and then trying to re-write them as a scalar entity.- tch2
- Post #4
- Forum: Programming and Computer Science
-
T
Fortran FORTRAN 90 Unexpected Statement Function Statement in Nested Do Loop
In the following code, highlighted in bold, I am using a nested DO loop to create a running sum of the yearly emissions ("emissions") read out of histem.txt, to create a cumulative emissions curve. The code generates an "Unexpected STATEMENT FUNCTION statement for sum in cem(i) = sum...- tch2
- Thread
- Fortran Function Loop
- Replies: 4
- Forum: Programming and Computer Science