<?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>print 1 to 100</title><link>https://community.appian.com/discussions/f/data/18208/print-1-to-100</link><description>Hi Friends, 
 
 My Requirement is to print no.s 1 to 100 without using enumerate function.If you could help me logic that would be a great help 
 Thanks in Advance. 
 
 Divya</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: print 1 to 100</title><link>https://community.appian.com/thread/71622?ContentTypeID=1</link><pubDate>Sun, 26 Jan 2020 06:46:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:003d978f-9c8f-4706-a8d2-e2694db427b7</guid><dc:creator>Sushma Rathnaiah</dc:creator><description>&lt;p&gt;Hi Divya,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is my answer where you can have random starting and random ending number. You can use my code as a individual function in Appian.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; local!count:ri!endingNum-ri!startingNum+1,&lt;br /&gt; local!data:repeat(local!count,ri!startingNum),&lt;br /&gt; local!result:a!forEach(&lt;br /&gt; items: local!data,&lt;br /&gt; expression: tointeger(&lt;br /&gt; ri!startingNum+fv!index-1&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; {&lt;br /&gt; local!result&lt;br /&gt; }&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;----&lt;/p&gt;
&lt;p&gt;where ri!startingNum = 1,&lt;/p&gt;
&lt;p&gt;ri!endingNum =100,&lt;/p&gt;
&lt;p&gt;output -&amp;gt; list of integer numbers as you expected.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: print 1 to 100</title><link>https://community.appian.com/thread/71621?ContentTypeID=1</link><pubDate>Sat, 25 Jan 2020 23:46:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:685201e4-381b-445f-af7f-cd110897b1c4</guid><dc:creator>Siddharth</dc:creator><description>&lt;p&gt;Hey Divya - Let me know if the below code helps.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!input: repeat(
    100,
    &amp;quot; &amp;quot;
  ),
  a!forEach(
    items: local!input,
    expression: tointeger(
      substitute(
        fv!item,
        &amp;quot; &amp;quot;,
        fv!index
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: print 1 to 100</title><link>https://community.appian.com/thread/71620?ContentTypeID=1</link><pubDate>Sat, 25 Jan 2020 06:45:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6629c8c5-921f-4982-8469-d0e7a5e1bea9</guid><dc:creator>Reggie</dc:creator><description>&lt;p&gt;Why can you not use enumerate?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>