<?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: reading files with variable name length in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959236#M21462</link>
    <description>Is it possible that when Spike says that trailing spaces in file names worked in 'a previous version of this compiler (and an older operating system)' he means MS FPS and a 16 bit OS (DOS, Win 3.1)?  In that world, what he describes will work  But in Win32, spaces are vaild filename characters, and so filename variables must be TRIMed.   &lt;BR /&gt; &lt;BR /&gt;Just a thought, &lt;BR /&gt;John</description>
    <pubDate>Wed, 18 Jul 2001 04:00:37 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-07-18T04:00:37Z</dc:date>
    <item>
      <title>reading files with variable name length</title>
      <link>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959233#M21459</link>
      <description>In a previous version of this compiler (and an older operating system) I was able to read a file with any length of name using a character*60 variable called 'name'. Any trailing blanks in the filename were ignored. Now that isn't working. The dimension of the 'name' variable has to exactly fit the length of the file name. &lt;BR /&gt;   any suggestions? &lt;BR /&gt;       Spike</description>
      <pubDate>Mon, 16 Jul 2001 23:34:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959233#M21459</guid>
      <dc:creator>nspikito</dc:creator>
      <dc:date>2001-07-16T23:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: reading files with variable name length</title>
      <link>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959234#M21460</link>
      <description>My guess is that there aren't trailing blanks, but perhaps trailing NULs.  Trailing blanks should be ignored.  If you have an example that demonstrates otherwise, send it to us at vf-support@compaq.com&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 17 Jul 2001 03:55:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959234#M21460</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-07-17T03:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: reading files with variable name length</title>
      <link>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959235#M21461</link>
      <description>Spike, &lt;BR /&gt; &lt;BR /&gt;I do the same thing as you are doing and do not run into any problems with CVF 6.5a like you are describing .  This works for me on NT 4.0, Windows 2000, and Windows 98, so something else must be going on. &lt;BR /&gt; &lt;BR /&gt;Tom</description>
      <pubDate>Wed, 18 Jul 2001 03:33:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959235#M21461</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-07-18T03:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: reading files with variable name length</title>
      <link>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959236#M21462</link>
      <description>Is it possible that when Spike says that trailing spaces in file names worked in 'a previous version of this compiler (and an older operating system)' he means MS FPS and a 16 bit OS (DOS, Win 3.1)?  In that world, what he describes will work  But in Win32, spaces are vaild filename characters, and so filename variables must be TRIMed.   &lt;BR /&gt; &lt;BR /&gt;Just a thought, &lt;BR /&gt;John</description>
      <pubDate>Wed, 18 Jul 2001 04:00:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959236#M21462</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-07-18T04:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: reading files with variable name length</title>
      <link>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959237#M21463</link>
      <description>John, &lt;BR /&gt; &lt;BR /&gt;No, this should not be a problem.  A long time ago I decided that users should be able to input filenames into a program (remember having to link files with environment variables for I/O?), so all my programs have a separate filename for each I/O file that is dimensioned to CHARACTER(LEN=80).  None of my programs have this problem (I still stick to 8.3 format for all I/O files, but other users have used long filenames appended to paths with no problem.  So, CVF does trim trailing blanks from filenames that are read in and is able to use any length character string for a filename.  As stated previously, I suspect something else is going on. &lt;BR /&gt; &lt;BR /&gt;Tom</description>
      <pubDate>Wed, 18 Jul 2001 04:12:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959237#M21463</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-07-18T04:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: reading files with variable name length</title>
      <link>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959238#M21464</link>
      <description>Thanks, Tom.  Now that I think about it, we saw this when we moved to NT back when the compiler we used was Watcom 10.6.   &lt;BR /&gt; &lt;BR /&gt;Sorry for any confusion, &lt;BR /&gt;John</description>
      <pubDate>Wed, 18 Jul 2001 05:24:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/reading-files-with-variable-name-length/m-p/959238#M21464</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-07-18T05:24:26Z</dc:date>
    </item>
  </channel>
</rss>

