I have the following line of code...
write(6,201) i, TIME, DTIME, CorM, CorR, CorL, accL + CorL, fluxM, corM / solmass
Due to it's length (and as an experiment in the use of continuation lines to confirm my understanding) I tried to spread this over two lines.
I have tried this...
I have a Fortran program that allows an input file to be defined on execution, as well as an output file...
.extracks <filein.lst >fileout.trk
I am running this on my Mac and on a Windows system.
The output part (>) works fine but I cannot use the input declaration (<).
How do I do this on...
I have a file of almost 5000 lines of code, made up of a series of subroutines.
I note that almost all the subroutines have the include 'parm.h' instruction. I can see the need of this between files but is this required in each subroutine contained within the same file?
The very first line of...
Hi
I am new to Fortran (but not programming) and understand that the save command causes the variables of a subroutine to become static prior to an end or return statement but I have this in the code I have received:
include 'parm.h'
include 'xvar.h'
data ifirst/0/...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.