<?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: Pattern in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562023#M10686</link>
    <description>&lt;P&gt;And another approach:&lt;/P&gt;
&lt;PRE&gt;proc format library=work;
value stars
1='*'
2='* *'
3='* * *'
4='* * * *'
5='* * * * *'
;

data _null_;
do i = 1 to 5;
  put i stars.;
end;
run;&lt;/PRE&gt;
&lt;P&gt;Though harder to maintain if you need a 20&amp;nbsp;row lower triangle.&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2019 17:25:27 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-05-28T17:25:27Z</dc:date>
    <item>
      <title>Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561866#M10653</link>
      <description>Can we print pattern like below using SAS&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* 
* * 
* * * 
* * * * 
* * * * * &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 07:50:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561866#M10653</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-05-28T07:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561867#M10654</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   do n=0 to 4;
      a=repeat('* ', n);
      put a;
   end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;prints&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;*
* *
* * *
* * * *
* * * * *
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 07:57:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561867#M10654</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-05-28T07:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561868#M10655</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
file print;
length text $100;
do i = 1 to 5;
  text = catx(' ',text,'*');
  put text;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 28 May 2019 07:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561868#M10655</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-28T07:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561869#M10656</link>
      <description>&lt;P&gt;Thank You&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brilliant Code&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 07:58:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561869#M10656</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-05-28T07:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561870#M10657</link>
      <description>&lt;P&gt;Thank You&amp;nbsp; sir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;very impressed your outstanding&amp;nbsp; coding skills&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 08:01:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561870#M10657</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-05-28T08:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561969#M10674</link>
      <description>&lt;P&gt;Just have some fun.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data _null_;
   do i=1 to 5;
      do j=1 to i;
        put '* ' @;
	  end;
	    put;
   end;
run;
 &lt;/PRE&gt;</description>
      <pubDate>Tue, 28 May 2019 13:56:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/561969#M10674</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-05-28T13:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562023#M10686</link>
      <description>&lt;P&gt;And another approach:&lt;/P&gt;
&lt;PRE&gt;proc format library=work;
value stars
1='*'
2='* *'
3='* * *'
4='* * * *'
5='* * * * *'
;

data _null_;
do i = 1 to 5;
  put i stars.;
end;
run;&lt;/PRE&gt;
&lt;P&gt;Though harder to maintain if you need a 20&amp;nbsp;row lower triangle.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 17:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562023#M10686</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-05-28T17:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562161#M10710</link>
      <description>&lt;P&gt;Thank Your&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what if right angle triangle&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 05:35:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562161#M10710</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-05-29T05:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562162#M10711</link>
      <description>&lt;P&gt;Thank You sir&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 05:36:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562162#M10711</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-05-29T05:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562163#M10712</link>
      <description>&lt;P&gt;Do a little thinking for yourself: how can you fill a character variable from the rear?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 05:36:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562163#M10712</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-29T05:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562239#M10716</link>
      <description>&lt;P&gt;Sure. Not a big deal .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   do i=5 to 1 by -1;
      do j=5 to i by -1;
        put @(2*j) '* ' @;
	  end;
	    put;
   end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 12:35:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/562239#M10716</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-05-29T12:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/563198#M10867</link>
      <description>&lt;P&gt;Thank You Ksharp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your are really sharp&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 07:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pattern/m-p/563198#M10867</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-06-03T07:42:51Z</dc:date>
    </item>
  </channel>
</rss>

