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 strongm 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: *

  • Users: 7man
  • Order by date
  1. 7man

    Wrinkly trying to get back into Fortran!

    Here they try '\': http://www.tek-tips.com/viewthread.cfm?qid=1752032 For me it doesn't work with: advance='no' ...
  2. 7man

    Trying to rewrite a program

    It worked for me when I replaced '\' with '$' line 13. I compile with g77. This doesn't work for me: write(*,'(A)',advance='no') WRITE (*, '(A$)') ' ANGULO : ' !! TRY $ TO REPLACE PROGRAM exercicio2 DIMENSION A(2, 2), B(2, 2), C(2, 2) C C VAI DEFINIR PONTOS A(...) C A(1, 1)...
  3. 7man

    Wrinkly trying to get back into Fortran!

    What the $ does at the end of the format-string must be that it prevents the addition of a linefeed (LF) character (or CRLF).
  4. 7man

    How do you arrange output data from Fortran into a text file with specified columns widths?

    Same program but easier to read: implicit none integer rpar(33),i do i=1,33 rpar(i)=i end do write(*,900),'Model Parameters: ' write(*,900),'Column length :',int(RPAR(2)),' m' write(*,900),'Mass transfer coeff N2 :',int(RPAR(3)),'...
  5. 7man

    How do you arrange output data from Fortran into a text file with specified columns widths?

    As an uploaded filehttp://files.engineering.com/getfile.aspx?folder=1a0a5c73-9180-4a54-9ea0-ce66af1cef63&file=fixedw.f
  6. 7man

    How do you arrange output data from Fortran into a text file with specified columns widths?

    implicit none integer rpar(33),i do i=1,33 rpar(i)=i end do write(*,900),'Model Parameters: ' write(*,900),'Column length :',int(RPAR(2)),' m' write(*,900),'Mass transfer coeff N2 :',int(RPAR(3)),' 1/s' write(*,900),'Mass transfer...
  7. 7man

    Wrinkly trying to get back into Fortran!

    An alternative solution is to slightly modify the print statement: print '(a$)', 'Enter a number: ' The $ at the end of the format string will direct screen-printings to continue on the same line, not the beginning of next line. A space is added after the colon to make the screen-printings...

Part and Inventory Search

Back
Top