Re: TYPE declaration/statement in Fortran 77 code



Arjen Markus wrote:

Replace TYPE by PRINT or WRITE(*,*).
It seems strange to me (at least in this case) that I should replace
TYPE with 'PRINT *,' or 'WRITE(*,*)', as that would still prevent the
code from compiling (IMPLICIT NONE statement is included in the
routines).

I doubt this is the correct substitution. In the implementations I have seen where TYPE is an I/O statement, it is interchangeable with "PRINT" and still requires a format specifier. Given the code sample, I'd guess that this is some odd declaration syntax instead. Perhaps if we saw more of the code we'd have a better idea of what to suggest.

--
Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH

For email address, replace "invalid" with "com"

User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://support.intel.com/support/performancetools/fortran
My Fortran blog
http://www.intel.com/software/drfortran
.



Relevant Pages

  • Re: right sequence of included module files
    ... Then I find some of the .f90 are main programs. ... Developer Products Division ... User communities for Intel Software Development Products ... Intel Fortran Support ...
    (comp.lang.fortran)
  • Re: unresolved external symbol
    ... I get the mistake unresolved external symbol -LNK2001 when building a ... Developer Products Division ... User communities for Intel Software Development Products ... Intel Fortran Support ...
    (comp.lang.fortran)
  • Re: bug with ifort + openmp : allocatable array not allocated after allocation
    ... The workaround is to not use the -check pointer feature. ... Developer Products Division ... User communities for Intel Software Development Products ... Intel Fortran Support ...
    (comp.lang.fortran)
  • Re: sort the variables shown in variable window in debugger
    ... on the order in which things were written to the debug symbol table, ... Developer Products Division ... User communities for Intel Software Development Products ... Intel Fortran Support ...
    (comp.lang.fortran)
  • Re: [Q] FORMAT
    ... Steve Lionel ... Software Products Division ... User communities for Intel Software Development Products ... Intel Fortran Support ...
    (comp.lang.fortran)