<?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: Number of elements in an array in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279289#M56271</link>
    <description>&lt;P&gt;Syntax needs a bit of attention&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;6            k = dim(a{*});
                        _
                        386
                        200
                        76
ERROR 386-185: Expecting an arithmetic expression.
ERROR 200-322: The symbol is not recognized and will be ignored.
ERROR 76-322: Syntax error, statement will be ignored.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 22 Jun 2016 11:59:14 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2016-06-22T11:59:14Z</dc:date>
    <item>
      <title>Number of elements in an array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279270#M56267</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem. I want know how many elements has the below array?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;array score{*} a4-a10,a25&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards, cons.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 10:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279270#M56267</guid>
      <dc:creator>cons</dc:creator>
      <dc:date>2016-06-22T10:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Number of elements in an array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279271#M56268</link>
      <description>&lt;P&gt;Use the dim() function;&lt;/P&gt;
&lt;P&gt;do i=1 to dim(score);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000213236.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000213236.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:19:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279271#M56268</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-06-22T12:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Number of elements in an array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279289#M56271</link>
      <description>&lt;P&gt;Syntax needs a bit of attention&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;6            k = dim(a{*});
                        _
                        386
                        200
                        76
ERROR 386-185: Expecting an arithmetic expression.
ERROR 200-322: The symbol is not recognized and will be ignored.
ERROR 76-322: Syntax error, statement will be ignored.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Jun 2016 11:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279289#M56271</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-06-22T11:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Number of elements in an array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279296#M56273</link>
      <description>&lt;P&gt;Yep, no need for the {*}&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279296#M56273</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-06-22T12:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Number of elements in an array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279357#M56294</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;the answer is very simple. The array has 8 elements a4-a10 are 7 elements plus a25 I get 8 elements. Sorry but I was confused. Thanks for all advices.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 14:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-elements-in-an-array/m-p/279357#M56294</guid>
      <dc:creator>cons</dc:creator>
      <dc:date>2016-06-22T14:27:48Z</dc:date>
    </item>
  </channel>
</rss>

