<?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: how to create star in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717414#M221857</link>
    <description>&lt;P&gt;I don't understand what the question is.&lt;/P&gt;
&lt;P&gt;PS Please do not paste pictures as attachments. Use the camera icon to insert them into the message instead.&lt;/P&gt;
&lt;P&gt;PPS Please do not paste picture of text. Use the Insert Code icon (looks like &amp;lt; / &amp;gt;) to paste the actual text instead.&lt;/P&gt;
&lt;PRE&gt;2616  data _null_ ;
2617  j=24 ;
2618  do i=24 to 0 by -2;
2619  b=repeat('*',i) ;
2620  c=(j-i)/2 ;
2621  put +c b ;
2622  end;
2623  run;

*************************
 ***********************
  *********************
   *******************
    *****************
     ***************
      *************
       ***********
        *********
         *******
          *****
           ***
            *
NOTE: DATA statement used (Total process time):
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Feb 2021 16:16:52 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-02-07T16:16:52Z</dc:date>
    <item>
      <title>how to create star</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717356#M221825</link>
      <description>&lt;P&gt;I have written one code to create stars line wise.for your reference please find attachment file1.&lt;/P&gt;
&lt;P&gt;How to get values like from file2 .&lt;/P&gt;
&lt;P&gt;file1-code:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;data _null_ ;&lt;BR /&gt;j=24 ;&lt;BR /&gt;do i=24 to 0 by -2;&lt;BR /&gt;b=repeat('*',i) ;&lt;BR /&gt;c=(j-i)/2 ;&lt;BR /&gt;put +c b ;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 05:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717356#M221825</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2021-02-07T05:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to create star</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717377#M221835</link>
      <description>&lt;PRE&gt;data _null_ ;
do i=0 to 10 ;
b=repeat('* ',i) ;
put  b ;
end;
do i=9 to 0 by -1;
b=repeat('* ',i) ;
put  b ;
end;
run;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Feb 2021 11:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717377#M221835</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-02-07T11:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to create star</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717414#M221857</link>
      <description>&lt;P&gt;I don't understand what the question is.&lt;/P&gt;
&lt;P&gt;PS Please do not paste pictures as attachments. Use the camera icon to insert them into the message instead.&lt;/P&gt;
&lt;P&gt;PPS Please do not paste picture of text. Use the Insert Code icon (looks like &amp;lt; / &amp;gt;) to paste the actual text instead.&lt;/P&gt;
&lt;PRE&gt;2616  data _null_ ;
2617  j=24 ;
2618  do i=24 to 0 by -2;
2619  b=repeat('*',i) ;
2620  c=(j-i)/2 ;
2621  put +c b ;
2622  end;
2623  run;

*************************
 ***********************
  *********************
   *******************
    *****************
     ***************
      *************
       ***********
        *********
         *******
          *****
           ***
            *
NOTE: DATA statement used (Total process time):
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 16:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717414#M221857</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-07T16:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to create star</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717418#M221861</link>
      <description>&lt;P&gt;Are you looking to do something like this?&lt;/P&gt;
&lt;PRE&gt;2679  data _null_ ;
2680    length line $80 ;
2681    do i=0 to 24 by 2 ,22 to 0 by -2;
2682      line=repeat('*',i) ;
2683      put line ;
2684    end;
2685  run;

*
***
*****
*******
*********
***********
*************
***************
*****************
*******************
*********************
***********************
*************************
***********************
*********************
*******************
*****************
***************
*************
***********
*********
*******
*****
***
*
&lt;/PRE&gt;
&lt;P&gt;Or perhaps like this&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;2624  data _null_ ;
2625    length line $80 ;
2626    do i=0 to 10 ,9 to 0 by -1;
2627      line=cat(repeat(' ',10-i),repeat('*',2*i)) ;
2628      put line $char80.;
2629    end;
2630  run;

           *
          ***
         *****
        *******
       *********
      ***********
     *************
    ***************
   *****************
  *******************
 *********************
  *******************
   *****************
    ***************
     *************
      ***********
       *********
        *******
         *****
          ***
           *
&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 07 Feb 2021 16:31:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-star/m-p/717418#M221861</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-07T16:31:28Z</dc:date>
    </item>
  </channel>
</rss>

