<?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: Struggling with line continuation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649910#M174611</link>
    <description>&lt;P&gt;I should also note that, rather than variables these should probably be PARAMETER constants. So instead of, for example:&lt;/P&gt;&lt;P&gt;character :: wch9*47 =&lt;/P&gt;&lt;P&gt;you'd write:&lt;/P&gt;&lt;P&gt;character(*), parameter :: wch9 =&lt;/P&gt;&lt;P&gt;The length will be taken automatically from the value.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2024 18:55:25 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2024-12-16T18:55:25Z</dc:date>
    <item>
      <title>Struggling with line continuation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649879#M174605</link>
      <description>&lt;PRE&gt; character :: wch9*47 = 'Scdap component-fission product &amp;amp;'&lt;BR /&gt;&amp;amp;                       'number (nn).'&lt;BR /&gt;  character :: wcha*46 = 'Scdap component-axial-mesh &amp;amp;'&lt;BR /&gt;&amp;amp;                        'number (iikkjj).'&lt;BR /&gt;  character :: wchb*33 = 'Couple creep rupture number (nn).'&lt;BR /&gt;  character :: wchc*33 = 'ASYST creep rupture number (nn).'&lt;BR /&gt;  character :: wchd*27 = 'Couple node number (nnn01).'&lt;BR /&gt;  character :: wche*48 = 'Couple fission product-node &amp;amp;'&lt;BR /&gt;&amp;amp;                        'number (iinnn01).'&lt;/PRE&gt;&lt;PRE&gt;Here are the errors that I am getting&lt;BR /&gt;graphics\3d\displayw3.for(35): error #5082: Syntax error, found CHARACTER_CONSTANT '(cccg0ssnn).' when expecting one of: ( * ) :: , &amp;lt;END-OF-STATEMENT&amp;gt; ; . (/ + - : ] /) ' ** / // &amp;gt; .LT. ...&lt;BR /&gt;&amp;amp;                               '(cccg0ssnn).'&lt;BR /&gt;--------------------------------^&lt;BR /&gt;graphics\3d\displayw3.for(42): error #5082: Syntax error, found CHARACTER_CONSTANT 'number (nn).' when expecting one of: ( * ) :: , &amp;lt;END-OF-STATEMENT&amp;gt; ; . (/ + - : ] /) ' ** / // &amp;gt; .LT. ...&lt;BR /&gt;&amp;amp;                              'number (nn).'&lt;BR /&gt;-------------------------------^&lt;BR /&gt;graphics\3d\displayw3.for(44): error #5082: Syntax error, found CHARACTER_CONSTANT 'number (iikkjj).' when expecting one of: ( * ) :: , &amp;lt;END-OF-STATEMENT&amp;gt; ; . (/ + - : ] /) ' ** / // &amp;gt; .LT. ...&lt;BR /&gt;&amp;amp;                              'number (iikkjj).'&lt;BR /&gt;-------------------------------^&lt;BR /&gt;graphics\3d\displayw3.for(49): error #5082: Syntax error, found CHARACTER_CONSTANT 'number (iinnn01).' when expecting one of: ( * ) :: , &amp;lt;END-OF-STATEMENT&amp;gt; ; . (/ + - : ] /) ' ** / // &amp;gt; .LT. ...&lt;BR /&gt;&amp;amp;                              'number (iinnn01).'&lt;BR /&gt;-------------------------------^&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Dec 2024 17:04:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649879#M174605</guid>
      <dc:creator>RoyRogers</dc:creator>
      <dc:date>2024-12-16T17:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with line continuation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649887#M174608</link>
      <description>&lt;P&gt;That's not how continuation works in Fortran. Here's one approach:&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt; character :: wch9*47 = 'Scdap component-fission product &amp;amp;
                        &amp;amp;number (nn).'
  character :: wcha*46 = 'Scdap component-axial-mesh &amp;amp;
                         &amp;amp;number (iikkjj).'
  character :: wchb*33 = 'Couple creep rupture number (nn).'
  character :: wchc*33 = 'ASYST creep rupture number (nn).'
  character :: wchd*27 = 'Couple node number (nnn01).'
  character :: wche*48 = 'Couple fission product-node &amp;amp;
                         &amp;amp;number (iinnn01).'&lt;/LI-CODE&gt;&lt;P&gt;Or you could do this:&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt; character :: wch9*47 = 'Scdap component-fission product ' // &amp;amp;
&amp;amp;                       'number (nn).'
  character :: wcha*46 = 'Scdap component-axial-mesh ' // &amp;amp;
&amp;amp;                        'number (iikkjj).'
  character :: wchb*33 = 'Couple creep rupture number (nn).'
  character :: wchc*33 = 'ASYST creep rupture number (nn).'
  character :: wchd*27 = 'Couple node number (nnn01).'
  character :: wche*48 = 'Couple fission product-node ' // &amp;amp;
&amp;amp;                        'number (iinnn01).'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 17:30:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649887#M174608</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-12-16T17:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with line continuation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649910#M174611</link>
      <description>&lt;P&gt;I should also note that, rather than variables these should probably be PARAMETER constants. So instead of, for example:&lt;/P&gt;&lt;P&gt;character :: wch9*47 =&lt;/P&gt;&lt;P&gt;you'd write:&lt;/P&gt;&lt;P&gt;character(*), parameter :: wch9 =&lt;/P&gt;&lt;P&gt;The length will be taken automatically from the value.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 18:55:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649910#M174611</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-12-16T18:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with line continuation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649933#M174614</link>
      <description>&lt;P&gt;Given you have moved to freeform why not go with 132 character lines,&amp;nbsp; your example with be a lot easier to read and it would save you&amp;nbsp; time.&lt;/P&gt;&lt;P&gt;The Fortran 2023 line length limit (10000) is going a bit far and Intel does not support that if yet if you use standards checking.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 21:19:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Struggling-with-line-continuation/m-p/1649933#M174614</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2024-12-16T21:19:35Z</dc:date>
    </item>
  </channel>
</rss>

