<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY notheme -->
<div></div>

 
<!--&lt;BR&gt;-->
<div>&nbsp;</div>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">
 -------------- Original message from Van Snyder &lt;Van.Snyder@jpl.nasa.gov&gt;: --------------
<br>
<br>
<br>&gt; [09-007r3:281:29-31 12.4.3.2p6] says
<br>&gt; 
<br>&gt;         An interface body specifies all of the characteristics of the
<br>&gt;         explicit specific interface or abstract interface. The
<br>&gt;         specifiation part of an interface body may specify attributes or
<br>&gt;         define values for data entities that do not determine
<br>&gt;         characteristics of the procedure. Such specifications have no
<br>&gt;         effect.
<br>&gt; 
<br>&gt; This has been around forever.
<br><br>Or at least since the early 90s ;).<br>&gt; 
<br>&gt; All the compilers I met rejected the following sort of thing
<br>&gt; 
<br>&gt;   interface
<br>&gt;     subroutine sub ( A )
<br>&gt;       real :: A
<br>&gt;       integer :: J, I(J)
<br>&gt;       character(*) :: C
<br>&gt;     end subroutine sub
<br>&gt;   end interface
<br>&gt; 
<br>&gt; because a statement is missing
<br>&gt;       parameter ( J=3, C="xyz" )
<br>&gt; 
<br>&gt; Must the declarations that have no effect satisfy the constraints that
<br>&gt; would be relevant if they were to have an effect?
<br>&gt; 
<br>&gt; -- 
<br>&gt; Van Snyder                    |  What fraction of Americans believe 
<br>&gt; Van.Snyder@jpl.nasa.gov       |  Wrestling is real and NASA is fake?
<br>&gt; Any alleged opinions are my own and have not been approved or
<br>&gt; disapproved by JPL, CalTech, NASA, the President, or anybody else.
<br>&gt; 
<br>&gt; _______________________________________________
<br>&gt; J3 mailing list
<br>&gt; J3@j3-fortran.org
<br>&gt; http://j3-fortran.org/mailman/listinfo/j3<br><br>There was a similar question about INTENT(IN) also in the early 90s.&nbsp; Given<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INTENT(IN)&nbsp; X<br>is something like<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF (.FALSE.) X = 0<br>standard conforming?&nbsp; The answer was NO, and I think words were changed from something like "intent(in) objects must not become defined" to "intent(in) objects must not appear in a definition context."<br><br>As I recall, there was some worry about distinguishing between compile time and run time issues, without actually mentioning compile time or run time.&nbsp; We didn't want to disallow something like<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF (X .GT. 0.0)&nbsp; y = sqrt(x)<br>and not encourage stupidities like<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF (X .GT. 0.0) y = sqrt (-1.0)<br><br>That might be why the words aren't clear.<br><br>Dick Hendrickson<br></blockquote>




<!-- END WEBMAIL STATIONERY -->

</body>
</html>