<?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 what is the shorthand notation in the sas doc in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-shorthand-notation-in-the-sas-doc/m-p/49634#M10313</link>
    <description>I find this in the sas doc about initialing an array with a sequential integers. &lt;BR /&gt;
&lt;BR /&gt;
It just says: &lt;BR /&gt;
&lt;BR /&gt;
You can also use a shorthand notation for specifying a range of sequential integers. The increment is always +1. &lt;BR /&gt;
&lt;BR /&gt;
but no example, I wonder if anyone would tell me what is it and how to do it? &lt;BR /&gt;
thank you</description>
    <pubDate>Tue, 14 Dec 2010 18:55:01 GMT</pubDate>
    <dc:creator>kwu</dc:creator>
    <dc:date>2010-12-14T18:55:01Z</dc:date>
    <item>
      <title>what is the shorthand notation in the sas doc</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-shorthand-notation-in-the-sas-doc/m-p/49634#M10313</link>
      <description>I find this in the sas doc about initialing an array with a sequential integers. &lt;BR /&gt;
&lt;BR /&gt;
It just says: &lt;BR /&gt;
&lt;BR /&gt;
You can also use a shorthand notation for specifying a range of sequential integers. The increment is always +1. &lt;BR /&gt;
&lt;BR /&gt;
but no example, I wonder if anyone would tell me what is it and how to do it? &lt;BR /&gt;
thank you</description>
      <pubDate>Tue, 14 Dec 2010 18:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-shorthand-notation-in-the-sas-doc/m-p/49634#M10313</guid>
      <dc:creator>kwu</dc:creator>
      <dc:date>2010-12-14T18:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: what is the shorthand notation in the sas doc</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-shorthand-notation-in-the-sas-doc/m-p/49635#M10314</link>
      <description>The sytax is the first and last values separated by a colon (you gotta love the colon it does so much for us).  Here the array x will range from 10 to 15.&lt;BR /&gt;
[pre]array x{6} _temporary_ (10:15);[/pre]&lt;BR /&gt;
&lt;BR /&gt;
The following step augments this definition by passing through a list of values twice.&lt;BR /&gt;
[pre]data silly;&lt;BR /&gt;
array x{10} _temporary_ (2*1:5);&lt;BR /&gt;
do i = 1 to dim(x);&lt;BR /&gt;
   y= x{i};&lt;BR /&gt;
   put i= y= ;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 14 Dec 2010 19:14:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-shorthand-notation-in-the-sas-doc/m-p/49635#M10314</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-12-14T19:14:52Z</dc:date>
    </item>
  </channel>
</rss>

