<?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 DO Loop in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/DO-Loop/m-p/563986#M10974</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data work.sales;&lt;BR /&gt;do year=1 to 5;&lt;BR /&gt;X+1;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Want do know the difference between STOP and STORE values.&lt;/P&gt;&lt;P&gt;Is 5 the STOP value and 6 is the STORE value, i mine right?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 07:58:02 GMT</pubDate>
    <dc:creator>swayto</dc:creator>
    <dc:date>2019-06-06T07:58:02Z</dc:date>
    <item>
      <title>DO Loop</title>
      <link>https://communities.sas.com/t5/New-SAS-User/DO-Loop/m-p/563986#M10974</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data work.sales;&lt;BR /&gt;do year=1 to 5;&lt;BR /&gt;X+1;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Want do know the difference between STOP and STORE values.&lt;/P&gt;&lt;P&gt;Is 5 the STOP value and 6 is the STORE value, i mine right?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 07:58:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/DO-Loop/m-p/563986#M10974</guid>
      <dc:creator>swayto</dc:creator>
      <dc:date>2019-06-06T07:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: DO Loop</title>
      <link>https://communities.sas.com/t5/New-SAS-User/DO-Loop/m-p/563988#M10975</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/134135"&gt;@swayto&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data work.sales;&lt;BR /&gt;do year=1 to 5;&lt;BR /&gt;X+1;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;Want do know the difference between STOP and STORE values.&lt;/P&gt;
&lt;P&gt;Is 5 the STOP value and 6 is the STORE value, i mine right?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Correct. In machine language, this do loop translates to this:&lt;/P&gt;
&lt;PRE&gt;set year to 1
:start
if year &amp;gt; 5, jump to end
add 1 to x
add 1 to year
jump to start
:end&lt;/PRE&gt;
&lt;P&gt;so the loop variable has to be in(de)cremented &lt;EM&gt;past&lt;/EM&gt; the end value for the do loop to stop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 08:03:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/DO-Loop/m-p/563988#M10975</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-06-06T08:03:28Z</dc:date>
    </item>
  </channel>
</rss>

