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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Zemm

  1. Zemm

    Reading automatic arrays

    Thank you again for the help. This program doesn't need an allocate statement. And I don't understand exactly why not because I haven't written a program with that statement. I put the write statement after the IF that checks for end-of-file. Another problem was that X and Y were actually...
  2. Zemm

    Reading automatic arrays

    I changed it to this: READ(14, *, IOSTAT = EOF) CHAR(N), X(N), Y(N) WRITE (16, *) "X = ", X(N), " Y = ", Y(N) I still get a runtime error (below), but it's changed to a WRITE problem, whereas it was a READ problem before. "The instruction at address 4534636 attempted to write to location...
  3. Zemm

    Reading automatic arrays

    I am running Fortran 90 in DOS and trying to read one-dimensional arrays from an input file. These are the first few lines in the file. Sample Influent Effluent Date BOD (mg/l) BOD (mg/l) 01/22/88 203.1 7.6 01/31/88 159.0 15.1 02/05/88...
  4. Zemm

    Calling a function

    I am using Salford's Fortran 95 in DOS. This program is intended to find coordinates on a 15 x 15 grid. Eventually, it will have a subroutine in addition to the function I have written. For now, I am trying to pass two variables to the function. The error from the compiler's error message is...
  5. Zemm

    Code to send output to a file

    #2 is exactly what I was after. Thank you!
  6. Zemm

    Code to send output to a file

    I am using fortran in DOS in Windows 98. Is there fortran code that will send the program's output to a text file?

Part and Inventory Search

Back
Top