<?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: Allocatable arrays in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Allocatable-arrays/m-p/985221#M26971</link>
    <description>Just remove it, I just included it to show that indeed there was data in the newly allocated array, but it doesn't add any functionality. &lt;BR /&gt; &lt;BR /&gt;James</description>
    <pubDate>Sat, 02 Mar 2002 16:27:19 GMT</pubDate>
    <dc:creator>james1</dc:creator>
    <dc:date>2002-03-02T16:27:19Z</dc:date>
    <item>
      <title>Allocatable arrays</title>
      <link>https://community.intel.com/t5/Software-Archive/Allocatable-arrays/m-p/985220#M26970</link>
      <description>I asked a question before dealing with declaring arrays, and 'wilkinson' gave me this example code.... &lt;BR /&gt; &lt;BR /&gt;   module data   &lt;BR /&gt;   integer max_element   &lt;BR /&gt;   integer, allocatable :: global_array(:)    &lt;BR /&gt;   end module data   &lt;BR /&gt; &lt;BR /&gt;   prog.f90  &lt;BR /&gt;   &lt;BR /&gt;   program main   &lt;BR /&gt;   use data   &lt;BR /&gt;   integer i   &lt;BR /&gt;   max_element = 1000   &lt;BR /&gt;   allocate (global_array(max_element))   &lt;BR /&gt;   do i = 1, max_element   &lt;BR /&gt;   global_array(i) = i    &lt;BR /&gt;   end do   &lt;BR /&gt;   call sub   &lt;BR /&gt;   end  subroutine sub   &lt;BR /&gt;   use data   &lt;BR /&gt;   type *, global_array(max_element/2)   &lt;BR /&gt;   return   &lt;BR /&gt;   end   &lt;BR /&gt; &lt;BR /&gt;I used the idea of the code and it worked perfectly.  But on the line... &lt;BR /&gt;     type *, global_array(max_element/2)   &lt;BR /&gt;what exactly does the ' *, ' do? and how could this line be changed so it wont be prompted in MSDos mode.  (I mean...when I run the program, the DOS window fills with zeros every time this line is run, how could I avoid this)</description>
      <pubDate>Sat, 02 Mar 2002 09:43:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Allocatable-arrays/m-p/985220#M26970</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2002-03-02T09:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Allocatable arrays</title>
      <link>https://community.intel.com/t5/Software-Archive/Allocatable-arrays/m-p/985221#M26971</link>
      <description>Just remove it, I just included it to show that indeed there was data in the newly allocated array, but it doesn't add any functionality. &lt;BR /&gt; &lt;BR /&gt;James</description>
      <pubDate>Sat, 02 Mar 2002 16:27:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Allocatable-arrays/m-p/985221#M26971</guid>
      <dc:creator>james1</dc:creator>
      <dc:date>2002-03-02T16:27:19Z</dc:date>
    </item>
  </channel>
</rss>

