<?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: Defines and FPP in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976981#M25229</link>
    <description>It is if you use #include.  fpp doesn't process Fortran INCLUDE.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Wed, 12 Dec 2001 08:01:24 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-12-12T08:01:24Z</dc:date>
    <item>
      <title>Defines and FPP</title>
      <link>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976978#M25226</link>
      <description>Is there a way to do text substitution similar to a #define in C++?  For example in C++,  &lt;BR /&gt;#define somevar someothervar &lt;BR /&gt;replaces all instances of somevar with the string someothervar.  Trying the same thing in Fortran seems to have no effect.   &lt;BR /&gt;The documentation for FPP says ?FPP is a modified version of the ANSI C preprocessor and supports ? #define , #elif, #else, ??.   Is preprocessor text substitution possible in Fortran?</description>
      <pubDate>Wed, 12 Dec 2001 05:46:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976978#M25226</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-12-12T05:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Defines and FPP</title>
      <link>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976979#M25227</link>
      <description>In the Fortran Project Options, change /fpp to /fpp:"/m" to enable macro substitution.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 12 Dec 2001 06:05:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976979#M25227</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-12-12T06:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Defines and FPP</title>
      <link>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976980#M25228</link>
      <description>Thanks Steve.  That works well in the source file.  It doesn't work if the #define occurs in an included file.  Is this supported?</description>
      <pubDate>Wed, 12 Dec 2001 06:36:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976980#M25228</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-12-12T06:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Defines and FPP</title>
      <link>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976981#M25229</link>
      <description>It is if you use #include.  fpp doesn't process Fortran INCLUDE.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 12 Dec 2001 08:01:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976981#M25229</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-12-12T08:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Defines and FPP</title>
      <link>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976982#M25230</link>
      <description>Thanks Steve.  This works well until you have an array index, e.g.: &lt;BR /&gt;type(sometype) somevar &lt;BR /&gt;#define   myindex   somevar.myindex &lt;BR /&gt; &lt;BR /&gt;integer someArray(5), i &lt;BR /&gt;... &lt;BR /&gt;myindex = 5 &lt;BR /&gt;i = someArray(myindex) &lt;BR /&gt; &lt;BR /&gt;The first instance of myindex is substitued nicely, but the second instance (used as the index of someArray) doesn't get substituted. &lt;BR /&gt;Any way to do this?  The command line help for fpp doesn't seem to mention anything. &lt;BR /&gt; &lt;BR /&gt;Thanks, &lt;BR /&gt;Brad</description>
      <pubDate>Thu, 13 Dec 2001 08:18:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976982#M25230</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-12-13T08:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Defines and FPP</title>
      <link>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976983#M25231</link>
      <description>Please send an example to vf-support@compaq.com - our fpp expert (not me!) will look at it.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 13 Dec 2001 08:41:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Defines-and-FPP/m-p/976983#M25231</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-12-13T08:41:28Z</dc:date>
    </item>
  </channel>
</rss>

