Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. garynewport2

    Continuation lines

    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...
  2. garynewport2

    Allowing for an input file

    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...
  3. garynewport2

    I have a file of almost 5000 lines

    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...
  4. garynewport2

    save command

    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/...

Part and Inventory Search

Back
Top