<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Module will not compile in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Module-will-not-compile/m-p/970000#M23684</link>
    <description>Hmm - Replace the INCLUDE with USE DFLIB - but what you have should work.  I'll look into this.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Fri, 19 Oct 2001 04:15:06 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-10-19T04:15:06Z</dc:date>
    <item>
      <title>Module will not compile</title>
      <link>https://community.intel.com/t5/Software-Archive/Module-will-not-compile/m-p/969999#M23683</link>
      <description>The following module will not compile; I am probably missing something simple. Appreciate someone pointing out the error of my ways. &lt;BR /&gt;&lt;PRE&gt;&lt;FONT size="+0"&gt;
	MODULE command_line_arguments 
 
	CONTAINS 
 
	   SUBROUTINE get_arguments (num_arguments, strings, 
     &amp;amp;	                         num_strings, error) 
 
	   IMPLICIT NONE 
 
	   INCLUDE 'flib.fd'          ! include for GETARG and NARGS functions 
 
!---------------------------------------------------------------------- 
!        Calling arguments 
!---------------------------------------------------------------------- 
 
	   INTEGER, INTENT(out) :: num_arguments	! Number of arguments returned 
	   INTEGER, INTENT(in)  :: num_strings		! Number of strings to hold 
	   INTEGER, INTENT(out) ::	error			! Error flag:	0 = no error 
											    !				-1 = system library error 
											    !				&amp;gt; 0 = too many arguments 
	   CHARACTER(len=*), DIMENSION (num_strings),  
     &amp;amp;	                  INTENT(out) :: strings 
!										    	! Array to hold arguments 
!---------------------------------------------------------------------- 
!	Type local variables 
!---------------------------------------------------------------------- 
 
	   INTEGER(2) :: i 
	   INTEGER(2) status 
 
!	   Get number of arguments 
	   num_arguments = nargs() 
!	   Check for too many argumeents 
	   IF(num_arguments &amp;gt; num_strings) THEN ! too many arguments 
		  error         = num_arguments 
		  num_arguments = num_strings 
	   ELSE 
		  error = 0 
	   ENDIF 
!	   Get arguments 
 
	   DO i =0, num_arguments - 1 
		  CALL getarg(i, strings(i + 1), status) 
			IF(status &amp;lt; 0) THEN 
			   error = status 
			   EXIT 
	        ENDIF 
	   ENDDO 
 
	   END SUBROUTINE get_arguments 
 
	END MODULE command_line_arguments
&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Oct 2001 00:37:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Module-will-not-compile/m-p/969999#M23683</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-10-19T00:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Module will not compile</title>
      <link>https://community.intel.com/t5/Software-Archive/Module-will-not-compile/m-p/970000#M23684</link>
      <description>Hmm - Replace the INCLUDE with USE DFLIB - but what you have should work.  I'll look into this.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 19 Oct 2001 04:15:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Module-will-not-compile/m-p/970000#M23684</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-10-19T04:15:06Z</dc:date>
    </item>
  </channel>
</rss>

