<?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: OpenVMS Alpha Debug64 - Examining char buffer as array in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543633#M32126</link>
    <description>That doesn't work either&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; ex /byte buffer&lt;BR /&gt;DEBUGTEST\main\buffer:  49&lt;BR /&gt;DBG&amp;gt; &lt;BR /&gt;&lt;BR /&gt;neither does this&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; ex /byte buffer[0:9]&lt;BR /&gt;DEBUGTEST\main\buffer:  49&lt;BR /&gt;DBG&amp;gt;</description>
    <pubDate>Thu, 12 May 2005 15:22:28 GMT</pubDate>
    <dc:creator>Alex Vournas</dc:creator>
    <dc:date>2005-05-12T15:22:28Z</dc:date>
    <item>
      <title>OpenVMS Alpha Debug64 - Examining char buffer as array</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543631#M32124</link>
      <description>#include &lt;STDIO.H&gt;&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;    char buffer[10];&lt;BR /&gt;    strcpy(buffer, "123456789");&lt;BR /&gt;    return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Using OpenVMS Alpha DEBUG Version V7.1-06R if I examine buffer, I get this output:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; ex buffer&lt;BR /&gt;DEBUGTEST\main\buffer[0:9]&lt;BR /&gt;    [0]:        49&lt;BR /&gt;    [1]:        50&lt;BR /&gt;    [2]:        51&lt;BR /&gt;    [3]:        52&lt;BR /&gt;    [4]:        53&lt;BR /&gt;    [5]:        54&lt;BR /&gt;    [6]:        55&lt;BR /&gt;    [7]:        56&lt;BR /&gt;    [8]:        57&lt;BR /&gt;    [9]:        0&lt;BR /&gt;DBG&amp;gt; &lt;BR /&gt;&lt;BR /&gt;Using OpenVMS Alpha Debug64 Version V7.3-200 I get:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; ex buffer&lt;BR /&gt;DEBUGTEST\main\buffer:  "123456789"&lt;BR /&gt;DBG&amp;gt; &lt;BR /&gt;&lt;BR /&gt;I would like to know how I can output buffer as an array like the old version did.  I thought "ex buffer[0:9]" may work, but I still get "123456789".  Any suggestions?&lt;BR /&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Thu, 12 May 2005 14:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543631#M32124</guid>
      <dc:creator>Alex Vournas</dc:creator>
      <dc:date>2005-05-12T14:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Alpha Debug64 - Examining char buffer as array</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543632#M32125</link>
      <description>I believe examine/byte buffer will give the desired results.</description>
      <pubDate>Thu, 12 May 2005 15:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543632#M32125</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-05-12T15:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Alpha Debug64 - Examining char buffer as array</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543633#M32126</link>
      <description>That doesn't work either&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; ex /byte buffer&lt;BR /&gt;DEBUGTEST\main\buffer:  49&lt;BR /&gt;DBG&amp;gt; &lt;BR /&gt;&lt;BR /&gt;neither does this&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; ex /byte buffer[0:9]&lt;BR /&gt;DEBUGTEST\main\buffer:  49&lt;BR /&gt;DBG&amp;gt;</description>
      <pubDate>Thu, 12 May 2005 15:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543633#M32126</guid>
      <dc:creator>Alex Vournas</dc:creator>
      <dc:date>2005-05-12T15:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Alpha Debug64 - Examining char buffer as array</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543634#M32127</link>
      <description>Alex,&lt;BR /&gt;&lt;BR /&gt;  I think I'd argue that the behaviour of displaying a string is a big improvement!&lt;BR /&gt;&lt;BR /&gt;  The program usage is most likely as a string, so that's how DEBUG should display it.&lt;BR /&gt;&lt;BR /&gt;  To display as an array use:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; EXAMINE/BYTE buffer[0]:buffer[9]&lt;BR /&gt;&lt;BR /&gt;  or, to see individual characters:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; EXAMINE/ASCII buffer[0]:buffer[9]&lt;BR /&gt;</description>
      <pubDate>Thu, 12 May 2005 23:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543634#M32127</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-05-12T23:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS Alpha Debug64 - Examining char buffer as array</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543635#M32128</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Thanks, that is exactly what I was looking for.  I agree with you about the new behavior being an improvement, but I still find it necessary to display each byte in some cases.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Alex</description>
      <pubDate>Fri, 13 May 2005 08:01:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-alpha-debug64-examining-char-buffer-as-array/m-p/3543635#M32128</guid>
      <dc:creator>Alex Vournas</dc:creator>
      <dc:date>2005-05-13T08:01:50Z</dc:date>
    </item>
  </channel>
</rss>

