(j3.2006) F08/0139??

Bill Long longb
Sat Dec 19 14:40:32 EST 2015


Interp F08/0139 (now out for ballot) starts with


??

QUESTION:


Consider the program fragment:

  Subroutine s() Bind(C,Name='Hello')
      Print *,'Hello'
  End Subroutine
  Subroutine s() Bind(C,Name='World')
    Print *,'World'
  End Subroutine

??

without any further context.  So, this could be part of the following program:

program ambiguous

  call s

contains

  Subroutine s() Bind(C,Name='Hello')
      Print *,'Hello'
  End Subroutine
  Subroutine s() Bind(C,Name='World')
    Print *,'World'
  End Subroutine

end program ambiguous

We didn?t really intend for this to be conforming, did we?  I think this interp needs a clearer example/question.

Cheers,
Bill

Bill Long                                                                       longb at cray.com
Fortran Technical Support  &                                  voice:  651-605-9024
Bioinformatics Software Development                     fax:  651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101





More information about the J3 mailing list