<?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: Why Why Why? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951166#M22502</link>
    <description>yes. that's the only reason to explain it~ hehe:)&lt;BR /&gt;&lt;BR /&gt;thanks~</description>
    <pubDate>Tue, 10 Jan 2006 11:11:46 GMT</pubDate>
    <dc:creator>Davor_7</dc:creator>
    <dc:date>2006-01-10T11:11:46Z</dc:date>
    <item>
      <title>Why Why Why?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951162#M22498</link>
      <description>Davor A5WS2&amp;gt; n:=1&lt;BR /&gt;$ disk = "f_"+n&lt;BR /&gt;$ sh sym disk&lt;BR /&gt;  DISK = "f_1"&lt;BR /&gt;$ n=n+1&lt;BR /&gt;$ sh sym n&lt;BR /&gt;  N = 2   Hex = 00000002  Octal = 00000000002&lt;BR /&gt;$ disk = "f_"+n&lt;BR /&gt;$ sh sym disk&lt;BR /&gt;  DISK = 2   Hex = 00000002  Octal = 00000000002&lt;BR /&gt;&lt;BR /&gt;why it's not DISK = "f_2" ??</description>
      <pubDate>Tue, 10 Jan 2006 10:38:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951162#M22498</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-10T10:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why Why Why?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951163#M22499</link>
      <description>Hi Davor&lt;BR /&gt;&lt;BR /&gt;try this one&lt;BR /&gt;&lt;BR /&gt;$ n=1&lt;BR /&gt;$ disk = "f_''n'"&lt;BR /&gt;$ sh sym disk&lt;BR /&gt;$ n=n+1&lt;BR /&gt;$ sh sym n&lt;BR /&gt;$ disk = "f_''n'"&lt;BR /&gt;$ sh sym disk&lt;BR /&gt;&lt;BR /&gt;This will give the following Output &lt;BR /&gt;&lt;BR /&gt;  DISK = "f_1"&lt;BR /&gt;  N = 2   Hex = 00000002  Octal = 00000000002&lt;BR /&gt;  DISK = "f_2"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Heinz</description>
      <pubDate>Tue, 10 Jan 2006 10:43:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951163#M22499</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2006-01-10T10:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why Why Why?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951164#M22500</link>
      <description>thank you :)&lt;BR /&gt;&lt;BR /&gt;also, i have find another way to use f$string :)&lt;BR /&gt;it's the problem on the data format :p</description>
      <pubDate>Tue, 10 Jan 2006 10:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951164#M22500</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-10T10:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why Why Why?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951165#M22501</link>
      <description>The answer to your question is that in the first case n and "f_" are both treated as strings. &lt;BR /&gt;&lt;BR /&gt;In the 2nd case n is treated as a numeric variable and when a numeric variable is "added" to a string variable you get a numeric result.&lt;BR /&gt;&lt;BR /&gt;You could use $ disk = "f_"+f$string(n)&lt;BR /&gt;or $ disk = "f_"+"''n'"&lt;BR /&gt;or $ disk = "f_''n'"&lt;BR /&gt;or $ disk = f$fao("f_!SL",n)&lt;BR /&gt;&lt;BR /&gt;and probably some other interesting variations that don't come to mind at the moment.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Tue, 10 Jan 2006 11:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951165#M22501</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2006-01-10T11:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why Why Why?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951166#M22502</link>
      <description>yes. that's the only reason to explain it~ hehe:)&lt;BR /&gt;&lt;BR /&gt;thanks~</description>
      <pubDate>Tue, 10 Jan 2006 11:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/why-why-why/m-p/4951166#M22502</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-10T11:11:46Z</dc:date>
    </item>
  </channel>
</rss>

