<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to print pattern below pattern.</title><link>https://community.appian.com/discussions/f/general/21359/how-to-print-pattern-below-pattern</link><description>Please provide the code for printing the below pattern: 
 
 a 
 ab 
 abc</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to print pattern below pattern.</title><link>https://community.appian.com/thread/83376?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 16:31:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d7b31478-cb9b-420b-9a25-47031005315a</guid><dc:creator>ayushimittal</dc:creator><description>&lt;p&gt;Thank you so much for your response.&lt;/p&gt;
&lt;p&gt;I was trying to implement patterns from other coding languages using SAIL functions. It is not related to any use case.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print pattern below pattern.</title><link>https://community.appian.com/thread/83374?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 15:08:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:412497d8-cfe3-4223-9424-9a0ea77d38fb</guid><dc:creator>rommels0002</dc:creator><description>&lt;p&gt;I am also eager to know your use case. But this is how you would be able to create this pattern. You can take local!alphabet in a constant from A-Z and bring upto the letter for which you want to iterate it. In your case upto letter C.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!alphabet: {
    &amp;quot;a&amp;quot;,
    &amp;quot;b&amp;quot;,
    &amp;quot;c&amp;quot;,
    &amp;quot;d&amp;quot;,
    &amp;quot;e&amp;quot;,
    &amp;quot;f&amp;quot;,
    &amp;quot;g&amp;quot;,
    &amp;quot;h&amp;quot;,
    &amp;quot;i&amp;quot;,
    &amp;quot;j&amp;quot;,
    &amp;quot;k&amp;quot;,
    &amp;quot;l&amp;quot;
  },
  a!forEach(
    count(local!alphabet) - { enumerate(count(local!alphabet)) + 1 },
    concat(rdrop(local!alphabet, fv!item))
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print pattern below pattern.</title><link>https://community.appian.com/thread/83367?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 09:53:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:103f66a9-b877-4599-8136-d6ac55a6da21</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Sorry, but why would I want to do that? Ask concrete questions and you will get support.&lt;/p&gt;
&lt;p&gt;What did you try? Do you have a specific question?&lt;/p&gt;
&lt;p&gt;Hint: Combine two nested foreach(), code() and enumerate().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>