(j3.2006) badly worded semantics for the IMPORT statement

Robert Corbett Robert.Corbett
Tue Nov 27 02:38:29 EST 2007


Someone here at Sun recently asked why it made a difference whether
a variable named in an IMPORT statement was assigned a value.  He
pointed out that Section 12.3.2.1 of the Fortran 2003 standard states

      An entity that is imported in this manner and is defined
                                                       ^^^^^^^
      in the host scoping unit shall be explicitly declared
      prior to the interface body.

Perhaps it would be better to say "declared" instead of "defined."

Bob Corbett



More information about the J3 mailing list